Anyone who can tell me what is wrong.
This is from my home-assistant.log
2018-02-25 16:50:21 WARNING (MainThread) [homeassistant.components.recorder] From version 0.64.0 the ‘recorder’ component will by default purge data older than 10 days. To keep data longer you must configure ‘purge_keep_days’ or ‘purge_interval’.
2018-02-25 16:50:40 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform cast is taking over 10 seconds.
2018-02-25 16:50:58 WARNING (Thread-20) [netdisco.ssdp] Error fetching description at 10.0.0.67
2018-02-25 16:51:03 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/lib/python3.5/asyncio/tasks.py”, line 239, in _step
result = coro.send(None)
File “/srv/homeassistant/lib/python3.5/site-packages/pytradfri/api/aiocoap_api.py”, line 152, in request
result = yield from self._execute(api_commands)
File “/srv/homeassistant/lib/python3.5/site-packages/pytradfri/api/aiocoap_api.py”, line 110, in _execute
yield from self._observe(api_command)
File “/srv/homeassistant/lib/python3.5/site-packages/pytradfri/api/aiocoap_api.py”, line 172, in _observe
api_command.result = _process_output®
File “/srv/homeassistant/lib/python3.5/site-packages/pytradfri/command.py”, line 71, in result
self._result = self._process_result(value)
File “/srv/homeassistant/lib/python3.5/site-packages/pytradfri/resource.py”, line 46, in observe_callback
callback(self)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/tradfri.py”, line 332, in _observe_update
self._light_data.hex_color_inferred
File “/srv/homeassistant/lib/python3.5/site-packages/pytradfri/device.py”, line 284, in hex_color_inferred
*xy_brightness_to_rgb(scale(x), scale(y), self.dimmer)
File “/srv/homeassistant/lib/python3.5/site-packages/pytradfri/color.py”, line 142, in xy_brightness_to_rgb
brightness = ibrightness / 255.
TypeError: unsupported operand type(s) for /: ‘NoneType’ and ‘float’
2018-02-25 16:51:03 WARNING (MainThread) [root] Observation deleted without explicit cancellation
2018-02-25 16:51:03 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/lib/python3.5/asyncio/tasks.py”, line 239, in _step
result = coro.send(None)
File “/srv/homeassistant/lib/python3.5/site-packages/pytradfri/api/aiocoap_api.py”, line 152, in request
result = yield from self._execute(api_commands)
File “/srv/homeassistant/lib/python3.5/site-packages/pytradfri/api/aiocoap_api.py”, line 110, in _execute
yield from self._observe(api_command)
File “/srv/homeassistant/lib/python3.5/site-packages/pytradfri/api/aiocoap_api.py”, line 172, in _observe
api_command.result = _process_output®
File “/srv/homeassistant/lib/python3.5/site-packages/pytradfri/command.py”, line 71, in result
self._result = self._process_result(value)
File “/srv/homeassistant/lib/python3.5/site-packages/pytradfri/resource.py”, line 46, in observe_callback
callback(self)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/tradfri.py”, line 332, in _observe_update
self._light_data.hex_color_inferred
File “/srv/homeassistant/lib/python3.5/site-packages/pytradfri/device.py”, line 284, in hex_color_inferred
*xy_brightness_to_rgb(scale(x), scale(y), self.dimmer)
File “/srv/homeassistant/lib/python3.5/site-packages/pytradfri/color.py”, line 142, in xy_brightness_to_rgb
brightness = ibrightness / 255.
TypeError: unsupported operand type(s) for /: ‘NoneType’ and ‘float’
2018-02-25 16:51:03 WARNING (MainThread) [root] Observation deleted without explicit cancellation