Hi guys.
I have some problems showing up in the log for quiet some time.
The first seems to appear in cohesion with my Hue System?
17-01-04 18:23:30 homeassistant.core: Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "uvloop/future.pyx", line 374, in uvloop.loop.BaseTask._fast_step (uvloop/loop.c:105920)
File "/usr/src/app/homeassistant/helpers/entity_component.py", line 386, in _update_entity_states
yield from update_coro
File "/usr/src/app/homeassistant/helpers/entity.py", line 216, in async_update_ha_state
yield from self.hass.loop.run_in_executor(None, self.update)
File "uvloop/future.pyx", line 230, in __iter__ (uvloop/loop.c:103945)
File "uvloop/future.pyx", line 432, in uvloop.loop.BaseTask._fast_wakeup (uvloop/loop.c:107104)
File "uvloop/future.pyx", line 101, in uvloop.loop.BaseFuture._result_impl (uvloop/loop.c:102363)
File "/usr/local/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/light/hue.py", line 397, in update
self.update_lights(no_throttle=True)
File "/usr/src/app/homeassistant/util/__init__.py", line 296, in wrapper
result = method(*args, **kwargs)
File "/usr/src/app/homeassistant/util/__init__.py", line 296, in wrapper
result = method(*args, **kwargs)
File "/usr/src/app/homeassistant/components/light/hue.py", line 207, in update_lights
lightgroups[lightgroup_id].schedule_update_ha_state()
File "/usr/src/app/homeassistant/helpers/entity.py", line 290, in schedule_update_ha_state
self.hass.add_job(self.async_update_ha_state(force_refresh))
AttributeError: 'NoneType' object has no attribute 'add_job'
Second problem. HA can´t connect to my Sonos anymore.
17-01-04 18:20:38 homeassistant.components.media_player: Error while setting up platform sonos
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/entity_component.py", line 150, in _async_setup_platform
entity_platform.add_entities, discovery_info
File "uvloop/future.pyx", line 230, in __iter__ (uvloop/loop.c:103945)
File "uvloop/future.pyx", line 432, in uvloop.loop.BaseTask._fast_wakeup (uvloop/loop.c:107104)
File "uvloop/future.pyx", line 101, in uvloop.loop.BaseFuture._result_impl (uvloop/loop.c:102363)
File "/usr/local/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/app/homeassistant/components/media_player/sonos.py", line 123, in setup_platform
add_devices(DEVICES, True)
File "/usr/src/app/homeassistant/helpers/entity_component.py", line 299, in add_entities
entity.update()
File "/usr/src/app/homeassistant/components/media_player/sonos.py", line 402, in update
track_info = self._player.get_current_track_info()
File "/usr/local/lib/python3.5/site-packages/soco/core.py", line 1051, in get_current_track_info
index = trackinfo.find(' - ')
AttributeError: 'NoneType' object has no attribute 'find'
Maybe someone has a clue… i recently switched from my Pi to a Server running HA in Docker.