Hi there
Get the following error in Home Assistant when i control my Milights configured in HABridge. The lights still work but the error seems to stop the automation. Any suggestions? it looks to me like that Home assistant expects a response for HABridge it never gets and stops the automation proceeding>? In HAbridge the communication to the milights is via UDP calls.
2017-08-22` 21:19:35 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/lib/python3.6/asyncio/tasks.py”, line 181, in _step
result = coro.throw(exc)
File “/usr/lib/python3.6/site-packages/homeassistant/core.py”, line 1025, in _event_to_service_call
yield from service_handler.func(service_call)
File “/usr/lib/python3.6/site-packages/homeassistant/components/light/init.py”, line 281, in async_handle_light_service
yield from light.async_turn_off(**params)
File “/usr/lib/python3.6/asyncio/futures.py”, line 331, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.6/asyncio/tasks.py”, line 244, in _wakeup
future.result()
File “/usr/lib/python3.6/asyncio/futures.py”, line 244, in result
raise self._exception
File “/usr/lib/python3.6/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/lib/python3.6/site-packages/homeassistant/components/light/hue.py”, line 452, in turn_off
self._command_func(self.light_id, command)
File “/usr/lib/python3.6/site-packages/phue.py”, line 898, in set_light
converted_light) + ‘/state’, data))
File “/usr/lib/python3.6/site-packages/phue.py”, line 667, in request
return json.loads(response.decode(‘utf-8’))
File “/usr/lib/python3.6/json/init.py”, line 354, in loads
return default_decoder.decode(s)
File “/usr/lib/python3.6/json/decoder.py”, line 339, in decode
obj, end = self.raw_decode(s, idx=w(s, 0).end())
File “/usr/lib/python3.6/json/decoder.py”, line 357, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 81 (char 80)