hi, have a switchbot,
added lines to config file with mac address.
getting this error in the logs
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/helpers/service.py”, line 287, in _handle_service_platform_call
await getattr(entity, func)(**data)
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/switch/switchbot.py”, line 47, in turn_on
if self._device.turn_on():
File “/usr/local/lib/python3.6/site-packages/switchbot/init.py”, line 59, in turn_on
return self._sendpacket(ON_KEY)
File “/usr/local/lib/python3.6/site-packages/switchbot/init.py”, line 45, in _sendpacket
hand_service = self._device.getServiceByUUID(UUID)
AttributeError: ‘NoneType’ object has no attribute ‘getServiceByUUID’
any idea what Ive done wrong?
thanks