Closed
Description
Home Assistant release (hass --version
):
0.64.0
Python release (python3 --version
):
Python 3.5.2
Component/platform:
tellduslive
Description of problem:
If I don't downgrade package 'requests' to 2.14.2, tellduslive does not start.
To downgrade:
pip3 install requests==2.14.2
If I don't downgrade, requests-2.18.4 is installed on my system.
Expected:
Clean startup.
Problem-relevant configuration.yaml
entries and steps to reproduce:
tellduslive:
Traceback (if applicable):
2018-03-06 13:22:14 ERROR (MainThread) [homeassistant.setup] Error during setup of component tellduslive
Traceback (most recent call last):
File "/home/homeassistant/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 148, in _async_setup_component
component.setup, hass, processed_config)
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 "/home/homeassistant/homeassistant/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 202, in setup
client.update()
File "/home/homeassistant/homeassistant/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 228, in update
self._sync()
File "/home/homeassistant/homeassistant/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 271, in _sync
entity.changed()
File "/home/homeassistant/homeassistant/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 297, in changed
self.schedule_update_ha_state()
File "/home/homeassistant/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 294, in schedule_update_ha_state
self.hass.add_job(self.async_update_ha_state(force_refresh))
AttributeError: 'NoneType' object has no attribute 'add_job'
Additional info:
Workaround first presented here - #10326 (comment) but I have never seen a real solution to the problem.
Metadata
Metadata
Assignees
Labels
No labels