Homeassistant.components.light: Error while setting up platform tellduslive

Hi,
Please helt a beginner :slight_smile:

Suddenly HA stoped loading telldus component and not all devices was loaded. I checked the logg file and discovered this. Any ide what can have happened? What to do?

17-01-08 15:17:16 homeassistant.components.tellduslive: Unidentified device type (methods: 0)
17-01-08 15:17:16 homeassistant.components.tellduslive: Unidentified device type (methods: 0)
17-01-08 15:17:17 homeassistant.components.light: Error while setting up platform tellduslive
Traceback (most recent call last):
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 150, in _async_setup_platform
entity_platform.add_entities, discovery_info
File “/usr/lib/python3.4/asyncio/futures.py”, line 388, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.4/asyncio/tasks.py”, line 286, in _wakeup
value = future.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 23, in setup_platform
add_devices(TelldusLiveLight(hass, light) for light in discovery_info)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 304, in add_entities
).result()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 23, in
add_devices(TelldusLiveLight(hass, light) for light in discovery_info)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 32, in init
self._last_brightness = self.brightness
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 42, in brightness
return self.device.dim_level
File “/home/homeassistant/.homeassistant/deps/tellduslive.py”, line 276, in dim_level
return int(self.statevalue)
TypeError: int() argument must be a string or a number, not ‘NoneType’
17-01-08 15:17:17 homeassistant.components.light: Error while setting up platform tellduslive
Traceback (most recent call last):
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 150, in _async_setup_platform
entity_platform.add_entities, discovery_info
File “/usr/lib/python3.4/asyncio/futures.py”, line 388, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.4/asyncio/tasks.py”, line 286, in _wakeup
value = future.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 23, in setup_platform
add_devices(TelldusLiveLight(hass, light) for light in discovery_info)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 304, in add_entities
).result()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 23, in
add_devices(TelldusLiveLight(hass, light) for light in discovery_info)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 32, in init
self._last_brightness = self.brightness
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 42, in brightness
return self.device.dim_level
File “/home/homeassistant/.homeassistant/deps/tellduslive.py”, line 276, in dim_level
return int(self.statevalue)
TypeError: int() argument must be a string or a number, not ‘NoneType’
17-01-08 15:17:17 homeassistant.components.light: Error while setting up platform tellduslive
Traceback (most recent call last):
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 150, in _async_setup_platform
entity_platform.add_entities, discovery_info
File “/usr/lib/python3.4/asyncio/futures.py”, line 388, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.4/asyncio/tasks.py”, line 286, in _wakeup
value = future.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 23, in setup_platform
add_devices(TelldusLiveLight(hass, light) for light in discovery_info)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 304, in add_entities
).result()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 23, in
add_devices(TelldusLiveLight(hass, light) for light in discovery_info)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 32, in init
self._last_brightness = self.brightness
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 42, in brightness
return self.device.dim_level
File “/home/homeassistant/.homeassistant/deps/tellduslive.py”, line 276, in dim_level
return int(self.statevalue)
TypeError: int() argument must be a string or a number, not ‘NoneType’
17-01-08 15:17:17 homeassistant.components.light: Error while setting up platform tellduslive
Traceback (most recent call last):
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 150, in _async_setup_platform
entity_platform.add_entities, discovery_info
File “/usr/lib/python3.4/asyncio/futures.py”, line 388, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.4/asyncio/tasks.py”, line 286, in _wakeup
value = future.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 23, in setup_platform
add_devices(TelldusLiveLight(hass, light) for light in discovery_info)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 304, in add_entities
).result()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 23, in
add_devices(TelldusLiveLight(hass, light) for light in discovery_info)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 32, in init
self._last_brightness = self.brightness
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 42, in brightness
return self.device.dim_level
File “/home/homeassistant/.homeassistant/deps/tellduslive.py”, line 276, in dim_level
return int(self.statevalue)
TypeError: int() argument must be a string or a number, not ‘NoneType’
17-01-08 15:18:30 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 99, in update
self._sync()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 144, in _sync
entity.changed()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 36, in changed
self._last_brightness = self.brightness
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 42, in brightness
return self.device.dim_level
File “/home/homeassistant/.homeassistant/deps/tellduslive.py”, line 276, in dim_level
return int(self.statevalue)
TypeError: int() argument must be a string or a number, not ‘NoneType’
17-01-08 15:19:30 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 99, in update
self._sync()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 144, in _sync
entity.changed()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 37, in changed
super().changed()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 168, in changed
self.schedule_update_ha_state()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/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’
17-01-08 15:20:30 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 99, in update
self._sync()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 144, in _sync
entity.changed()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 37, in changed
super().changed()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 168, in changed
self.schedule_update_ha_state()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/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’
17-01-08 15:21:30 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 99, in update
self._sync()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 144, in _sync
entity.changed()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 37, in changed
super().changed()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 168, in changed
self.schedule_update_ha_state()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/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’
17-01-08 15:22:27 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 99, in update
self._sync()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 144, in _sync
entity.changed()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 37, in changed
super().changed()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 168, in changed
self.schedule_update_ha_state()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/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’
17-01-08 15:23:30 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 99, in update
self._sync()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 144, in _sync
entity.changed()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/light/tellduslive.py”, line 37, in changed
super().changed()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 168, in changed
self.schedule_update_ha_state()
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/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’

The issue solved itself somehow…

You know how it solved itself?
I seem to have the same problem after update…

It have actually happen to me more the once now. I have figured out how to solve this issue, not rely sure way it happens but anyway.

What I have problem whit is the dimmers. I go to the Telldus live homepage and turn all dinners on 75% and the restart home assistant. That have all the times solved the issue. I think it something that don’t match in on signal and strength.

Ok, it seems that the error is gone… but still cant turn on/off the dimmers after update…