When I ask Hassio via Google assistant “Which lights are on” I get back Unknown error for 6 lights. Looking in the logs of Hassio I see the following;
What could it be?
2018-06-25 21:56:49 ERROR (MainThread) [homeassistant.components.google_assistant.smart_home] Unexpected error
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/components/google_assistant/smart_home.py", line 217, in _process
result = await handler(hass, config, inputs[0].get('payload'))
File "/usr/lib/python3.6/site-packages/homeassistant/components/google_assistant/smart_home.py", line 274, in async_devices_query
devices[devid] = _GoogleEntity(hass, config, state).query_serialize()
File "/usr/lib/python3.6/site-packages/homeassistant/components/google_assistant/smart_home.py", line 158, in query_serialize
deep_update(attrs, trt.query_attributes())
File "/usr/lib/python3.6/site-packages/homeassistant/components/google_assistant/trait.py", line 322, in query_attributes
color_util.color_temperature_mired_to_kelvin(temp)
File "/usr/lib/python3.6/site-packages/homeassistant/util/color.py", line 478, in color_temperature_mired_to_kelvin
return math.floor(1000000 / mired_temperature)
ZeroDivisionError: division by zero
2018-06-25 21:56:49 ERROR (MainThread) [homeassistant.components.google_assistant.smart_home] Error handling message {'inputs': [{'intent': 'action.devices.QUERY', 'payload': {'devices': [{'id': 'light.living_room__corner_table'}, {'id': 'light.living_room'}, {'id': 'light.living_room__rack'}, {'id': 'light.light_4'}, {'id': 'group.all_lights'}, {'id': 'light.living_room__couch'}]}}], 'requestId': '6531916141289625278'}: {'errorCode': 'unknownError'}