2019-05-17 14:05:06 ERROR (SyncWorker_2) [homeassistant.util.yaml] while parsing a block mapping
in “/config/lights.yaml”, line 4, column 7
expected , but found ‘’
in “/config/lights.yaml”, line 6, column 54
well, no parse error, but an error in log
2019-05-17 14:13:29 ERROR (MainThread) [homeassistant.helpers.entity] Update for light.keukeneiland fails
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py”, line 220, in async_update_ha_state
await self.async_device_update()
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py”, line 375, in async_device_update
await self.async_update()
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/template/light.py”, line 237, in async_update
if state in _VALID_STATES:
2019-05-17 14:17:34 WARNING (MainThread) [homeassistant.components.sensor] Setup of platform kostal is taking over 10 seconds.
2019-05-17 14:17:44 ERROR (MainThread) [homeassistant.components.template.light] UndefinedError: list object has no element 1
2019-05-17 14:17:44 ERROR (MainThread) [homeassistant.helpers.entity] Update for light.keukeneiland fails
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 220, in async_update_ha_state
await self.async_device_update()
File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py", line 375, in async_device_update
await self.async_update()
File "/usr/local/lib/python3.7/site-packages/homeassistant/components/template/light.py", line 237, in async_update
if state in _VALID_STATES:
UnboundLocalError: local variable 'state' referenced before assignment