Traceback (most recent call last):


 "D:\tools\XX-Net-3.7.9\code\default\python27\1.0\lib\threading.py", line 801, in __bootstrap_inner

self.run()


 "D:\tools\XX-Net-3.7.9\code\default\python27\1.0\lib\threading.py", line 754, in run

self.__target(*self.__args, **self.__kwargs)


 "D:\tools\XX-Net-3.7.9\code\default\gae_proxy\local\google_ip.py", line 652, in scan_ip_worker

xlog.exception("google_ip.runJob fail:%r", e)
AttributeError: 'NoneType' object has no attribute 'exception'

Traceback (most recent call last):


 "/usr/lib/python3.6/site-packages/homeassistant/core.py", line 1010, in _event_to_service_call

yield from service_handler.func(service_call)


 "/usr/lib/python3.6/site-packages/homeassistant/components/switch/__init__.py", line 111, in async_handle_switch_service

yield from switch.async_turn_on()


 "/usr/lib/python3.6/asyncio/futures.py", line 332, in __iter__

yield self
# This tells Task to wait for completion.


 "/usr/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup

future.result()


 "/usr/lib/python3.6/asyncio/futures.py", line 245, in result

raise self._exception


 "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/lib/python3.6/site-packages/homeassistant/components/switch/homematic.py", line 54, in turn_on

self._hmdevice.on(self._channel)
AttributeError: 'KeyMatic' object has no attribute 'on'
