Closed
Description
Home Assistant release: 0.53
Python release: 3.5 (and 3.4 from another user on the forums)
Component/platform: Ubuntu Server 16.04 64bit
Problem: Updated to 0.53 yesterday and have been getting hue.py errors nonstop since then. Trying to update every single light for some reason. I found someone else posted about it here: https://community.home-assistant.io/t/hue-errors-after-53-update/26821
I've already gotten 10 thousand lines in my log from running the past 10 minutes after deleting it. I currently do not have issues controlling hue lights though and there are no updates to be done on the official Philips Hue app.
Expected: No logging errors for the hue lights
Traceback:
2017-09-11 22:32:31 ERROR (MainThread) [homeassistant.helpers.entity] Update for light.tv_lamp fails
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state
yield from self.hass.async_add_job(self.update)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/hue.py", line 467, in update
self.update_lights(no_throttle=True)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/util/__init__.py", line 306, in wrapper
result = method(*args, **kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/util/__init__.py", line 306, in wrapper
result = method(*args, **kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/light/hue.py", line 256, in update_lights
lightgroups[lightgroup_id].schedule_update_ha_state()
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 302, in schedule_update_ha_state
self.hass.add_job(self.async_update_ha_state(force_refresh))
AttributeError: 'NoneType' object has no attribute 'add_job'
Metadata
Assignees
Labels
No labels