Core: 0.59: Telldus Live not working

Created on 3 Dec 2017  Â·  14Comments  Â·  Source: home-assistant/core

Home Assistant release (hass --version):
0.59.0

Python release (python3 --version):
3.5.3

Component/platform:
Tellduslive

Description of problem:
Telldus live not working, error log full of errors from tellduslive.py
Auto configuration not responding when completed authentication from telldus.

Traceback (if applicable):

2017-12-03 19:05:00 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 241, in _step
    result = coro.throw(exc)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/core.py", line 1031, in _event_to_service_call
    yield from service_handler.func(service_call)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/configurator.py", line 224, in async_handle_service_call
    call.data.get(ATTR_FIELDS, {}))
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, 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/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 104, in configuration_callback
    res = setup(hass, config, session)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 201, in setup
    client.update()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 227, in update
    self._sync()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 267, in _sync
    identify_device(device))
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 240, in identify_device
    if device.methods & DIM:
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'
2017-12-03 19:09:33 ERROR (Thread-21) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 227, in update
    self._sync()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 267, in _sync
    identify_device(device))
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 240, in identify_device
    if device.methods & DIM:
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'

Additional info:

All 14 comments

Me too. I get Invalid config in the frontend and errors in the log. Not the same errors though I think...

Did You get invalid config, or something else?

2017-12-03 21:54:13 INFO (MainThread) [homeassistant.components.discovery] Found new service: tellstick ('192.168.1.24', 'TellstickZnetLite', 'ACCAXXXX3606', '2CTXXXXENU', '1.0.11')
2017-12-03 21:54:13 INFO (MainThread) [homeassistant.loader] Loaded tellduslive from homeassistant.components.tellduslive
2017-12-03 21:54:19 INFO (MainThread) [homeassistant.setup] Setting up tellduslive
2017-12-03 21:54:25 ERROR (MainThread) [homeassistant.setup] Error during setup of component tellduslive
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 193, in _async_setup_component
    component.setup, hass, processed_config)
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, 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/tellduslive.py", line 71, in setup
    from tellduslive import Session, supports_local_api
  File "/srv/homeassistant/lib/python3.5/site-packages/tellduslive.py", line 9, in <module>
    from requests_oauthlib import OAuth1Session
  File "/srv/homeassistant/lib/python3.5/site-packages/requests_oauthlib/__init__.py", line 9, in <module>
    if requests.__version__ < '2.0.0':
TypeError: unorderable types: module() < str()
2017-12-03 21:54:26 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service_call_id=3045878992-25, service_data=notification_id=invalid_config, title=Invalid config, message=The following components and platforms could not be set up:

 - [tellduslive](https://home-assistant.io/components/tellduslive/)

Please check your config., service=create>
2017-12-03 21:54:26 INFO (MainThread) [homeassistant.core] Bus:Handling <Event platform_discovered[L]: discovered=('192.168.1.24', 'TellstickZnetLite', 'ACCAXXXX3606', '2CTXXXXENU', '1.0.11'), service=tellstick>

@Spiff1, this looks strange. If would help if you could start with enabled debug logging:

logger:
  default: warning
  logs:
    tellduslive: debug
    homeassistant.components.tellduslive: debug

Alternatively, I would be interested in the output from the standalone command line tool at https://github.com/molobrakos/tellduslive/ (run like ./tellduslive -vv list)
It looks like there is some device reported with no methods-field.

@pappajohan, your problem seems to be of another kind (and same as previously reported https://github.com/home-assistant/home-assistant/issues/10326). Is this a clean install of HA? If not, are you able to do a clean install with only tellduslive enabled?

Thanks! No, it's from when hassbian turned 1,31 due to python 3.5 I believe. Yeah, my errors do look a bit different. Sure, I'll try to see if I can find the time tomorrow night. Thanks for the directions!

/Johan

Thanks to @fredrike, who provided a debug log and performed some debugging, we probably have a fix for this.

I've found the bug and there is a patch available for the TelldusLive lib https://github.com/molobrakos/tellduslive/tree/sensor_wo_data (no update of HA is necessary).

Just waiting for @molobrakos to accept it 😄

Until the fix is included in a release, just try pip install --upgrade telldusliveor pip install tellduslive==0.10.4 to get the fix.

Thanks but it didn't solve the issue for me. Still having the same errors in the log. And a lot of them, Error doing job: Future exception was never retrieved is occurring every minute or so.
The first error (Error doing job: Task exception was never retrieved) occurs when i click the configure link for telldus live. After the authentication process has been completed a few sensors show up but after a restart all is gone again and they don't updates if they are visible. The configure message never disappear.
I believe I was successful in installing the update for telldus live, at least it says _Successfully installed tellduslive-0.10.4_ when its done.

2017-12-04 20:19:18 INFO (Thread-14) [homeassistant.components.tellduslive] Found entry in configuration.yaml. Requesting TelldusLive cloud service configuration
2017-12-04 20:19:18 INFO (Thread-14) [homeassistant.components.tellduslive] Configuring TelldusLive cloud service
2017-12-04 20:19:18 DEBUG (Thread-14) [tellduslive] Fetching request token
2017-12-04 20:19:18 DEBUG (Thread-14) [tellduslive] Got request token
2017-12-04 20:19:18 DEBUG (Thread-14) [homeassistant.components.tellduslive] Got authorization URL https://api.telldus.com/oauth/authorize?oauth_token=f9195328a63c8fc7a1563e4477210f5105a259fb6
2017-12-04 20:19:52 WARNING (Thread-6) [homeassistant.components.zwave] zwave not ready after 30 seconds, continuing anyway
2017-12-04 20:20:09 DEBUG (Thread-19) [tellduslive] Fetching access token
2017-12-04 20:20:10 DEBUG (Thread-19) [tellduslive] Got access token
2017-12-04 20:20:10 DEBUG (Thread-19) [tellduslive] Authorized: True
2017-12-04 20:20:10 DEBUG (Thread-19) [homeassistant.components.tellduslive] Continuing setup configured by configurator
2017-12-04 20:20:10 DEBUG (Thread-19) [homeassistant.components.tellduslive] Update interval 0:01:00
2017-12-04 20:20:10 DEBUG (Thread-19) [homeassistant.components.tellduslive] Updating
2017-12-04 20:20:10 DEBUG (Thread-19) [tellduslive] Request https://api.telldus.com/json/devices/list {'supportedMethods': 915, 'includeIgnored': 0}
2017-12-04 20:20:10 DEBUG (Thread-19) [tellduslive] Response 200 application/json; charset=utf-8 {'device': [{'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '4', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Altanbelysning', 'state': 1, 'id': '1566445'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '11', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Altanentre', 'state': 2, 'id': '1714975'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '8', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Bangladesh 1', 'state': 2, 'id': '1612746'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '9', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Bangladesh 2', 'state': 2, 'id': '1612749'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '26', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'BortalÀge', 'state': 1, 'id': '1835509'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '10', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Huvudentre', 'state': 2, 'id': '1714957'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '12', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Kallardorr', 'state': 2, 'id': '1714988'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '20', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altanbelysning effekt', 'state': 2, 'id': '1735209'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '21', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altanbelysning uterummet', 'state': 2, 'id': '1735210'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '19', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altandorr Open', 'state': 2, 'id': '1717387'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '17', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Huvudentre Open', 'state': 2, 'id': '1717372'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '18', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Kallardorr open', 'state': 2, 'id': '1717381'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '23', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster', 'state': 2, 'id': '1735839'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '24', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster 1', 'state': 2, 'id': '1735840'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '25', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster 2', 'state': 2, 'id': '1735841'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '22', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge ytterbelysning altanstolpe', 'state': 1, 'id': '1735211'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '13', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'The button white', 'state': 2, 'id': '1715013'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '15', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'The remote', 'state': 1, 'id': '1715137'}]}
2017-12-04 20:20:10 DEBUG (Thread-19) [tellduslive] Request https://api.telldus.com/json/sensors/list {'includeValues': 1, 'includeIgnored': 0, 'includeScale': 1}
2017-12-04 20:20:10 DEBUG (Thread-19) [tellduslive] Response 200 application/json; charset=utf-8 {'sensor': [{'editable': 1, 'id': '13047111', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '12.3', 'minTime': 1511605874, 'name': 'temp', 'maxTime': 1502457878, 'max': '27.9', 'lastUpdated': 1511605874, 'value': '12.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Altanentre', 'miscValues': None, 'sensorId': '11', 'battery': 100, 'lastUpdated': 1511605874, 'keepHistory': 0}, {'editable': 1, 'id': '13046930', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '8', 'minTime': 1511352779, 'name': 'temp', 'maxTime': 1501869703, 'max': '27.7', 'lastUpdated': 1512415161, 'value': '9.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Huvudentre', 'miscValues': '{}', 'sensorId': '10', 'battery': 100, 'lastUpdated': 1512415161, 'keepHistory': 0}, {'editable': 1, 'id': '13047173', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '1.8', 'minTime': 1511330513, 'name': 'temp', 'maxTime': 1501871134, 'max': '27.5', 'lastUpdated': 1512414768, 'value': '2.9'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Kallardorr', 'miscValues': None, 'sensorId': '12', 'battery': 60, 'lastUpdated': 1512414768, 'keepHistory': 0}, {'editable': 1, 'id': '11132989', 'online': '1', 'model': 'temperature', 'client': '238543', 'data': [{'scale': '0', 'min': '6.7', 'minTime': 1511345036, 'name': 'temp', 'maxTime': 1501162938, 'max': '19.6', 'lastUpdated': 1512414962, 'value': '7.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'KÀllare Entré', 'miscValues': None, 'sensorId': '7', 'battery': 254, 'lastUpdated': 1512414962, 'keepHistory': 1}, {'editable': 1, 'id': '11132986', 'online': '1', 'model': 'temperaturehumidity', 'client': '238543', 'data': [{'scale': '0', 'min': '6.8', 'minTime': 1511335959, 'name': 'temp', 'maxTime': 1490382849, 'max': '21.6', 'lastUpdated': 1512414957, 'value': '7.3'}, {'scale': '0', 'min': '40', 'minTime': 1490383185, 'name': 'humidity', 'maxTime': 1506603434, 'max': '81', 'lastUpdated': 1512414957, 'value': '74'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'KÀllare Pannrum', 'miscValues': None, 'sensorId': '6', 'battery': 254, 'lastUpdated': 1512414957, 'keepHistory': 1}, {'editable': 1, 'id': '10599385', 'online': '1', 'model': 'temperaturehumidity', 'client': '238543', 'data': [{'scale': '0', 'min': '8.1', 'minTime': 1510549412, 'name': 'temp', 'maxTime': 1495971689, 'max': '27.8', 'lastUpdated': 1512414996, 'value': '9.3'}, {'scale': '0', 'min': '20', 'minTime': 1487892558, 'name': 'humidity', 'maxTime': 1506524785, 'max': '71', 'lastUpdated': 1512414996, 'value': '63'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'Kök', 'miscValues': None, 'sensorId': '2', 'battery': 254, 'lastUpdated': 1512414996, 'keepHistory': 1}, {'editable': 1, 'id': '13324895', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'lastUpdated': 1512413928, 'name': 'watt', 'value': '11.17'}, {'scale': '2', 'name': 'watt', 'maxTime': 1512394442, 'max': '22.3', 'lastUpdated': 1512413928, 'value': '0'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge Altanbelysning effekt', 'miscValues': None, 'sensorId': '20', 'battery': 254, 'lastUpdated': 1512413928, 'keepHistory': 0}, {'editable': 1, 'id': '13324896', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge Altanbelysning uterummet', 'miscValues': None, 'sensorId': '21', 'battery': 254, 'lastUpdated': 1503755512, 'keepHistory': 0}, {'editable': 1, 'id': '13333430', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'lastUpdated': 1512414101, 'name': 'watt', 'value': '9.99'}, {'scale': '2', 'name': 'watt', 'maxTime': 1511082248, 'max': '98.9', 'lastUpdated': 1512414101, 'value': '0'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge vardagsrum fonster', 'miscValues': None, 'sensorId': '23', 'battery': 254, 'lastUpdated': 1512414101, 'keepHistory': 0}, {'editable': 1, 'id': '13333431', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge vardagsrum fonster 1', 'miscValues': None, 'sensorId': '24', 'battery': 254, 'lastUpdated': 1503817381, 'keepHistory': 0}, {'editable': 1, 'id': '13324897', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge ytterbelysning altanstolpe', 'miscValues': None, 'sensorId': '22', 'battery': 254, 'lastUpdated': 1503755512, 'keepHistory': 0}, {'editable': 1, 'id': '10599386', 'online': '1', 'model': 'temperature', 'client': '238543', 'data': [{'scale': '0', 'min': '-10.8', 'minTime': 1492227495, 'name': 'temp', 'maxTime': 1487183987, 'max': '34.1', 'lastUpdated': 1512414953, 'value': '-5.4'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'Utomhus', 'miscValues': None, 'sensorId': '3', 'battery': 254, 'lastUpdated': 1512414953, 'keepHistory': 1}]}
2017-12-04 20:20:11 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 241, in _step
    result = coro.throw(exc)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/core.py", line 1031, in _event_to_service_call
    yield from service_handler.func(service_call)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/configurator.py", line 224, in async_handle_service_call
    call.data.get(ATTR_FIELDS, {}))
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, 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/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 104, in configuration_callback
    res = setup(hass, config, session)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 201, in setup
    client.update()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 227, in update
    self._sync()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 267, in _sync
    identify_device(device))
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 240, in identify_device
    if device.methods & DIM:
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'
2017-12-04 20:20:11 DEBUG (Thread-17) [homeassistant.components.tellduslive] Created device <Entity Sallinge Altandorr Open: off>
2017-12-04 20:20:11 DEBUG (Thread-3) [homeassistant.components.tellduslive] Created device <Entity Sallinge Kallardorr open: off>
2017-12-04 20:20:11 DEBUG (Thread-2) [homeassistant.components.tellduslive] Created device <Entity Altanentre Temperature: 12.3>
2017-12-04 20:21:11 DEBUG (Thread-10) [homeassistant.components.tellduslive] Updating
2017-12-04 20:21:11 DEBUG (Thread-10) [tellduslive] Request https://api.telldus.com/json/devices/list {'supportedMethods': 915, 'includeIgnored': 0}
2017-12-04 20:21:12 DEBUG (Thread-10) [tellduslive] Response 200 application/json; charset=utf-8 {'device': [{'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '4', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Altanbelysning', 'state': 1, 'id': '1566445'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '11', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Altanentre', 'state': 2, 'id': '1714975'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '8', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Bangladesh 1', 'state': 2, 'id': '1612746'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '9', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Bangladesh 2', 'state': 2, 'id': '1612749'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '26', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'BortalÀge', 'state': 1, 'id': '1835509'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '10', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Huvudentre', 'state': 2, 'id': '1714957'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '12', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Kallardorr', 'state': 2, 'id': '1714988'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '20', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altanbelysning effekt', 'state': 2, 'id': '1735209'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '21', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altanbelysning uterummet', 'state': 2, 'id': '1735210'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '19', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altandorr Open', 'state': 2, 'id': '1717387'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '17', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Huvudentre Open', 'state': 2, 'id': '1717372'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '18', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Kallardorr open', 'state': 2, 'id': '1717381'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '23', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster', 'state': 2, 'id': '1735839'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '24', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster 1', 'state': 2, 'id': '1735840'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '25', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster 2', 'state': 2, 'id': '1735841'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '22', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge ytterbelysning altanstolpe', 'state': 1, 'id': '1735211'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '13', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'The button white', 'state': 2, 'id': '1715013'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '15', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'The remote', 'state': 1, 'id': '1715137'}]}
2017-12-04 20:21:12 DEBUG (Thread-10) [tellduslive] Request https://api.telldus.com/json/sensors/list {'includeValues': 1, 'includeIgnored': 0, 'includeScale': 1}
2017-12-04 20:21:12 DEBUG (Thread-10) [tellduslive] Response 200 application/json; charset=utf-8 {'sensor': [{'editable': 1, 'id': '13047111', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '12.3', 'minTime': 1511605874, 'name': 'temp', 'maxTime': 1502457878, 'max': '27.9', 'lastUpdated': 1511605874, 'value': '12.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Altanentre', 'miscValues': None, 'sensorId': '11', 'battery': 100, 'lastUpdated': 1511605874, 'keepHistory': 0}, {'editable': 1, 'id': '13046930', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '8', 'minTime': 1511352779, 'name': 'temp', 'maxTime': 1501869703, 'max': '27.7', 'lastUpdated': 1512415161, 'value': '9.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Huvudentre', 'miscValues': '{}', 'sensorId': '10', 'battery': 100, 'lastUpdated': 1512415161, 'keepHistory': 0}, {'editable': 1, 'id': '13047173', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '1.8', 'minTime': 1511330513, 'name': 'temp', 'maxTime': 1501871134, 'max': '27.5', 'lastUpdated': 1512414768, 'value': '2.9'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Kallardorr', 'miscValues': None, 'sensorId': '12', 'battery': 60, 'lastUpdated': 1512414768, 'keepHistory': 0}, {'editable': 1, 'id': '11132989', 'online': '1', 'model': 'temperature', 'client': '238543', 'data': [{'scale': '0', 'min': '6.7', 'minTime': 1511345036, 'name': 'temp', 'maxTime': 1501162938, 'max': '19.6', 'lastUpdated': 1512414962, 'value': '7.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'KÀllare Entré', 'miscValues': None, 'sensorId': '7', 'battery': 254, 'lastUpdated': 1512414962, 'keepHistory': 1}, {'editable': 1, 'id': '11132986', 'online': '1', 'model': 'temperaturehumidity', 'client': '238543', 'data': [{'scale': '0', 'min': '6.8', 'minTime': 1511335959, 'name': 'temp', 'maxTime': 1490382849, 'max': '21.6', 'lastUpdated': 1512414957, 'value': '7.3'}, {'scale': '0', 'min': '40', 'minTime': 1490383185, 'name': 'humidity', 'maxTime': 1506603434, 'max': '81', 'lastUpdated': 1512414957, 'value': '74'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'KÀllare Pannrum', 'miscValues': None, 'sensorId': '6', 'battery': 254, 'lastUpdated': 1512414957, 'keepHistory': 1}, {'editable': 1, 'id': '10599385', 'online': '1', 'model': 'temperaturehumidity', 'client': '238543', 'data': [{'scale': '0', 'min': '8.1', 'minTime': 1510549412, 'name': 'temp', 'maxTime': 1495971689, 'max': '27.8', 'lastUpdated': 1512414996, 'value': '9.3'}, {'scale': '0', 'min': '20', 'minTime': 1487892558, 'name': 'humidity', 'maxTime': 1506524785, 'max': '71', 'lastUpdated': 1512414996, 'value': '63'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'Kök', 'miscValues': None, 'sensorId': '2', 'battery': 254, 'lastUpdated': 1512414996, 'keepHistory': 1}, {'editable': 1, 'id': '13324895', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'lastUpdated': 1512413928, 'name': 'watt', 'value': '11.17'}, {'scale': '2', 'name': 'watt', 'maxTime': 1512394442, 'max': '22.3', 'lastUpdated': 1512413928, 'value': '0'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge Altanbelysning effekt', 'miscValues': None, 'sensorId': '20', 'battery': 254, 'lastUpdated': 1512413928, 'keepHistory': 0}, {'editable': 1, 'id': '13324896', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge Altanbelysning uterummet', 'miscValues': None, 'sensorId': '21', 'battery': 254, 'lastUpdated': 1503755512, 'keepHistory': 0}, {'editable': 1, 'id': '13333430', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'lastUpdated': 1512414101, 'name': 'watt', 'value': '9.99'}, {'scale': '2', 'name': 'watt', 'maxTime': 1511082248, 'max': '98.9', 'lastUpdated': 1512414101, 'value': '0'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge vardagsrum fonster', 'miscValues': None, 'sensorId': '23', 'battery': 254, 'lastUpdated': 1512414101, 'keepHistory': 0}, {'editable': 1, 'id': '13333431', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge vardagsrum fonster 1', 'miscValues': None, 'sensorId': '24', 'battery': 254, 'lastUpdated': 1503817381, 'keepHistory': 0}, {'editable': 1, 'id': '13324897', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge ytterbelysning altanstolpe', 'miscValues': None, 'sensorId': '22', 'battery': 254, 'lastUpdated': 1503755512, 'keepHistory': 0}, {'editable': 1, 'id': '10599386', 'online': '1', 'model': 'temperature', 'client': '238543', 'data': [{'scale': '0', 'min': '-10.8', 'minTime': 1492227495, 'name': 'temp', 'maxTime': 1487183987, 'max': '34.1', 'lastUpdated': 1512414953, 'value': '-5.4'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'Utomhus', 'miscValues': None, 'sensorId': '3', 'battery': 254, 'lastUpdated': 1512414953, 'keepHistory': 1}]}
2017-12-04 20:21:38 DEBUG (Thread-6) [tellduslive] Request https://api.telldus.com/json/device/turnOff {'id': '1717387'}
2017-12-04 20:21:38 DEBUG (Thread-6) [tellduslive] Response 200 application/json; charset=utf-8 {'status': 'success'}
2017-12-04 20:22:12 DEBUG (Thread-19) [homeassistant.components.tellduslive] Updating
2017-12-04 20:22:12 DEBUG (Thread-19) [tellduslive] Request https://api.telldus.com/json/devices/list {'supportedMethods': 915, 'includeIgnored': 0}
2017-12-04 20:22:13 DEBUG (Thread-19) [tellduslive] Response 200 application/json; charset=utf-8 {'device': [{'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '4', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Altanbelysning', 'state': 1, 'id': '1566445'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '11', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Altanentre', 'state': 2, 'id': '1714975'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '8', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Bangladesh 1', 'state': 2, 'id': '1612746'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '9', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Bangladesh 2', 'state': 2, 'id': '1612749'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '26', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'BortalÀge', 'state': 1, 'id': '1835509'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '10', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Huvudentre', 'state': 2, 'id': '1714957'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '12', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Kallardorr', 'state': 2, 'id': '1714988'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '20', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altanbelysning effekt', 'state': 2, 'id': '1735209'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '21', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altanbelysning uterummet', 'state': 2, 'id': '1735210'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '19', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altandorr Open', 'state': 2, 'id': '1717387'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '17', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Huvudentre Open', 'state': 2, 'id': '1717372'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '18', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Kallardorr open', 'state': 2, 'id': '1717381'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '23', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster', 'state': 2, 'id': '1735839'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '24', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster 1', 'state': 2, 'id': '1735840'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '25', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster 2', 'state': 2, 'id': '1735841'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '22', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge ytterbelysning altanstolpe', 'state': 1, 'id': '1735211'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '13', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'The button white', 'state': 2, 'id': '1715013'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '15', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'The remote', 'state': 1, 'id': '1715137'}]}
2017-12-04 20:22:13 DEBUG (Thread-19) [tellduslive] Request https://api.telldus.com/json/sensors/list {'includeValues': 1, 'includeIgnored': 0, 'includeScale': 1}
2017-12-04 20:22:13 DEBUG (Thread-19) [tellduslive] Response 200 application/json; charset=utf-8 {'sensor': [{'editable': 1, 'id': '13047111', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '12.3', 'minTime': 1511605874, 'name': 'temp', 'maxTime': 1502457878, 'max': '27.9', 'lastUpdated': 1511605874, 'value': '12.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Altanentre', 'miscValues': None, 'sensorId': '11', 'battery': 100, 'lastUpdated': 1511605874, 'keepHistory': 0}, {'editable': 1, 'id': '13046930', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '8', 'minTime': 1511352779, 'name': 'temp', 'maxTime': 1501869703, 'max': '27.7', 'lastUpdated': 1512415161, 'value': '9.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Huvudentre', 'miscValues': '{}', 'sensorId': '10', 'battery': 100, 'lastUpdated': 1512415161, 'keepHistory': 0}, {'editable': 1, 'id': '13047173', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '1.8', 'minTime': 1511330513, 'name': 'temp', 'maxTime': 1501871134, 'max': '27.5', 'lastUpdated': 1512414768, 'value': '2.9'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Kallardorr', 'miscValues': None, 'sensorId': '12', 'battery': 60, 'lastUpdated': 1512414768, 'keepHistory': 0}, {'editable': 1, 'id': '11132989', 'online': '1', 'model': 'temperature', 'client': '238543', 'data': [{'scale': '0', 'min': '6.7', 'minTime': 1511345036, 'name': 'temp', 'maxTime': 1501162938, 'max': '19.6', 'lastUpdated': 1512414962, 'value': '7.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'KÀllare Entré', 'miscValues': None, 'sensorId': '7', 'battery': 254, 'lastUpdated': 1512414962, 'keepHistory': 1}, {'editable': 1, 'id': '11132986', 'online': '1', 'model': 'temperaturehumidity', 'client': '238543', 'data': [{'scale': '0', 'min': '6.8', 'minTime': 1511335959, 'name': 'temp', 'maxTime': 1490382849, 'max': '21.6', 'lastUpdated': 1512414957, 'value': '7.3'}, {'scale': '0', 'min': '40', 'minTime': 1490383185, 'name': 'humidity', 'maxTime': 1506603434, 'max': '81', 'lastUpdated': 1512414957, 'value': '74'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'KÀllare Pannrum', 'miscValues': None, 'sensorId': '6', 'battery': 254, 'lastUpdated': 1512414957, 'keepHistory': 1}, {'editable': 1, 'id': '10599385', 'online': '1', 'model': 'temperaturehumidity', 'client': '238543', 'data': [{'scale': '0', 'min': '8.1', 'minTime': 1510549412, 'name': 'temp', 'maxTime': 1495971689, 'max': '27.8', 'lastUpdated': 1512414996, 'value': '9.3'}, {'scale': '0', 'min': '20', 'minTime': 1487892558, 'name': 'humidity', 'maxTime': 1506524785, 'max': '71', 'lastUpdated': 1512414996, 'value': '63'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'Kök', 'miscValues': None, 'sensorId': '2', 'battery': 254, 'lastUpdated': 1512414996, 'keepHistory': 1}, {'editable': 1, 'id': '13324895', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'lastUpdated': 1512413928, 'name': 'watt', 'value': '11.17'}, {'scale': '2', 'name': 'watt', 'maxTime': 1512394442, 'max': '22.3', 'lastUpdated': 1512413928, 'value': '0'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge Altanbelysning effekt', 'miscValues': None, 'sensorId': '20', 'battery': 254, 'lastUpdated': 1512413928, 'keepHistory': 0}, {'editable': 1, 'id': '13324896', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge Altanbelysning uterummet', 'miscValues': None, 'sensorId': '21', 'battery': 254, 'lastUpdated': 1503755512, 'keepHistory': 0}, {'editable': 1, 'id': '13333430', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'lastUpdated': 1512414101, 'name': 'watt', 'value': '9.99'}, {'scale': '2', 'name': 'watt', 'maxTime': 1511082248, 'max': '98.9', 'lastUpdated': 1512414101, 'value': '0'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge vardagsrum fonster', 'miscValues': None, 'sensorId': '23', 'battery': 254, 'lastUpdated': 1512414101, 'keepHistory': 0}, {'editable': 1, 'id': '13333431', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge vardagsrum fonster 1', 'miscValues': None, 'sensorId': '24', 'battery': 254, 'lastUpdated': 1503817381, 'keepHistory': 0}, {'editable': 1, 'id': '13324897', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge ytterbelysning altanstolpe', 'miscValues': None, 'sensorId': '22', 'battery': 254, 'lastUpdated': 1503755512, 'keepHistory': 0}, {'editable': 1, 'id': '10599386', 'online': '1', 'model': 'temperature', 'client': '238543', 'data': [{'scale': '0', 'min': '-10.8', 'minTime': 1492227495, 'name': 'temp', 'maxTime': 1487183987, 'max': '34.1', 'lastUpdated': 1512414953, 'value': '-5.4'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'Utomhus', 'miscValues': None, 'sensorId': '3', 'battery': 254, 'lastUpdated': 1512414953, 'keepHistory': 1}]}
2017-12-04 20:23:13 DEBUG (Thread-7) [homeassistant.components.tellduslive] Updating
2017-12-04 20:23:13 DEBUG (Thread-7) [tellduslive] Request https://api.telldus.com/json/devices/list {'supportedMethods': 915, 'includeIgnored': 0}
2017-12-04 20:23:14 DEBUG (Thread-7) [tellduslive] Response 200 application/json; charset=utf-8 {'device': [{'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '4', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Altanbelysning', 'state': 1, 'id': '1566445'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '11', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Altanentre', 'state': 2, 'id': '1714975'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '8', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Bangladesh 1', 'state': 2, 'id': '1612746'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '9', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Bangladesh 2', 'state': 2, 'id': '1612749'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '26', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'BortalÀge', 'state': 1, 'id': '1835509'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '10', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Huvudentre', 'state': 2, 'id': '1714957'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '12', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Kallardorr', 'state': 2, 'id': '1714988'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '20', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altanbelysning effekt', 'state': 2, 'id': '1735209'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '21', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altanbelysning uterummet', 'state': 2, 'id': '1735210'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '19', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altandorr Open', 'state': 2, 'id': '1717387'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '17', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Huvudentre Open', 'state': 2, 'id': '1717372'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '18', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Kallardorr open', 'state': 2, 'id': '1717381'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '23', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster', 'state': 2, 'id': '1735839'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '24', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster 1', 'state': 2, 'id': '1735840'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '25', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster 2', 'state': 2, 'id': '1735841'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '22', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge ytterbelysning altanstolpe', 'state': 1, 'id': '1735211'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '13', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'The button white', 'state': 2, 'id': '1715013'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '15', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'The remote', 'state': 1, 'id': '1715137'}]}
2017-12-04 20:23:14 DEBUG (Thread-7) [tellduslive] Request https://api.telldus.com/json/sensors/list {'includeValues': 1, 'includeIgnored': 0, 'includeScale': 1}
2017-12-04 20:23:14 DEBUG (Thread-7) [tellduslive] Response 200 application/json; charset=utf-8 {'sensor': [{'editable': 1, 'id': '13047111', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '12.3', 'minTime': 1511605874, 'name': 'temp', 'maxTime': 1502457878, 'max': '27.9', 'lastUpdated': 1511605874, 'value': '12.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Altanentre', 'miscValues': None, 'sensorId': '11', 'battery': 100, 'lastUpdated': 1511605874, 'keepHistory': 0}, {'editable': 1, 'id': '13046930', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '8', 'minTime': 1511352779, 'name': 'temp', 'maxTime': 1501869703, 'max': '27.7', 'lastUpdated': 1512415161, 'value': '9.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Huvudentre', 'miscValues': '{}', 'sensorId': '10', 'battery': 100, 'lastUpdated': 1512415161, 'keepHistory': 0}, {'editable': 1, 'id': '13047173', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '1.8', 'minTime': 1511330513, 'name': 'temp', 'maxTime': 1501871134, 'max': '27.5', 'lastUpdated': 1512414768, 'value': '2.9'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Kallardorr', 'miscValues': None, 'sensorId': '12', 'battery': 60, 'lastUpdated': 1512414768, 'keepHistory': 0}, {'editable': 1, 'id': '11132989', 'online': '1', 'model': 'temperature', 'client': '238543', 'data': [{'scale': '0', 'min': '6.7', 'minTime': 1511345036, 'name': 'temp', 'maxTime': 1501162938, 'max': '19.6', 'lastUpdated': 1512414962, 'value': '7.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'KÀllare Entré', 'miscValues': None, 'sensorId': '7', 'battery': 254, 'lastUpdated': 1512414962, 'keepHistory': 1}, {'editable': 1, 'id': '11132986', 'online': '1', 'model': 'temperaturehumidity', 'client': '238543', 'data': [{'scale': '0', 'min': '6.8', 'minTime': 1511335959, 'name': 'temp', 'maxTime': 1490382849, 'max': '21.6', 'lastUpdated': 1512414957, 'value': '7.3'}, {'scale': '0', 'min': '40', 'minTime': 1490383185, 'name': 'humidity', 'maxTime': 1506603434, 'max': '81', 'lastUpdated': 1512414957, 'value': '74'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'KÀllare Pannrum', 'miscValues': None, 'sensorId': '6', 'battery': 254, 'lastUpdated': 1512414957, 'keepHistory': 1}, {'editable': 1, 'id': '10599385', 'online': '1', 'model': 'temperaturehumidity', 'client': '238543', 'data': [{'scale': '0', 'min': '8.1', 'minTime': 1510549412, 'name': 'temp', 'maxTime': 1495971689, 'max': '27.8', 'lastUpdated': 1512414996, 'value': '9.3'}, {'scale': '0', 'min': '20', 'minTime': 1487892558, 'name': 'humidity', 'maxTime': 1506524785, 'max': '71', 'lastUpdated': 1512414996, 'value': '63'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'Kök', 'miscValues': None, 'sensorId': '2', 'battery': 254, 'lastUpdated': 1512414996, 'keepHistory': 1}, {'editable': 1, 'id': '13324895', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'lastUpdated': 1512413928, 'name': 'watt', 'value': '11.17'}, {'scale': '2', 'name': 'watt', 'maxTime': 1512394442, 'max': '22.3', 'lastUpdated': 1512413928, 'value': '0'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge Altanbelysning effekt', 'miscValues': None, 'sensorId': '20', 'battery': 254, 'lastUpdated': 1512413928, 'keepHistory': 0}, {'editable': 1, 'id': '13324896', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge Altanbelysning uterummet', 'miscValues': None, 'sensorId': '21', 'battery': 254, 'lastUpdated': 1503755512, 'keepHistory': 0}, {'editable': 1, 'id': '13333430', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'lastUpdated': 1512414101, 'name': 'watt', 'value': '9.99'}, {'scale': '2', 'name': 'watt', 'maxTime': 1511082248, 'max': '98.9', 'lastUpdated': 1512414101, 'value': '0'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge vardagsrum fonster', 'miscValues': None, 'sensorId': '23', 'battery': 254, 'lastUpdated': 1512414101, 'keepHistory': 0}, {'editable': 1, 'id': '13333431', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge vardagsrum fonster 1', 'miscValues': None, 'sensorId': '24', 'battery': 254, 'lastUpdated': 1503817381, 'keepHistory': 0}, {'editable': 1, 'id': '13324897', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge ytterbelysning altanstolpe', 'miscValues': None, 'sensorId': '22', 'battery': 254, 'lastUpdated': 1503755512, 'keepHistory': 0}, {'editable': 1, 'id': '10599386', 'online': '1', 'model': 'temperature', 'client': '238543', 'data': [{'scale': '0', 'min': '-10.8', 'minTime': 1492227495, 'name': 'temp', 'maxTime': 1487183987, 'max': '34.1', 'lastUpdated': 1512414953, 'value': '-5.4'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'Utomhus', 'miscValues': None, 'sensorId': '3', 'battery': 254, 'lastUpdated': 1512414953, 'keepHistory': 1}]}
2017-12-04 20:23:30 ERROR (Thread-8) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 227, in update
    self._sync()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 267, in _sync
    identify_device(device))
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 240, in identify_device
    if device.methods & DIM:
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'
2017-12-04 20:23:31 ERROR (Thread-8) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 227, in update
    self._sync()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 267, in _sync
    identify_device(device))
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 240, in identify_device
    if device.methods & DIM:
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'
2017-12-04 20:23:31 ERROR (Thread-8) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 227, in update
    self._sync()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 267, in _sync
    identify_device(device))
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 240, in identify_device
    if device.methods & DIM:
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'
2017-12-04 20:24:14 DEBUG (Thread-21) [homeassistant.components.tellduslive] Updating
2017-12-04 20:24:14 DEBUG (Thread-21) [tellduslive] Request https://api.telldus.com/json/devices/list {'supportedMethods': 915, 'includeIgnored': 0}
2017-12-04 20:24:15 DEBUG (Thread-21) [tellduslive] Response 200 application/json; charset=utf-8 {'device': [{'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '4', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Altanbelysning', 'state': 1, 'id': '1566445'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '11', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Altanentre', 'state': 2, 'id': '1714975'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '8', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Bangladesh 1', 'state': 2, 'id': '1612746'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '9', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Bangladesh 2', 'state': 2, 'id': '1612749'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '26', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'BortalÀge', 'state': 1, 'id': '1835509'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '10', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Huvudentre', 'state': 2, 'id': '1714957'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '12', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Kallardorr', 'state': 2, 'id': '1714988'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '20', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altanbelysning effekt', 'state': 2, 'id': '1735209'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '21', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altanbelysning uterummet', 'state': 2, 'id': '1735210'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '19', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altandorr Open', 'state': 2, 'id': '1717387'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '17', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Huvudentre Open', 'state': 2, 'id': '1717372'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '18', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Kallardorr open', 'state': 2, 'id': '1717381'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '23', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster', 'state': 2, 'id': '1735839'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '24', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster 1', 'state': 2, 'id': '1735840'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '25', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster 2', 'state': 2, 'id': '1735841'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '22', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge ytterbelysning altanstolpe', 'state': 1, 'id': '1735211'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '13', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'The button white', 'state': 2, 'id': '1715013'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '15', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'The remote', 'state': 1, 'id': '1715137'}]}
2017-12-04 20:24:15 DEBUG (Thread-21) [tellduslive] Request https://api.telldus.com/json/sensors/list {'includeValues': 1, 'includeIgnored': 0, 'includeScale': 1}
2017-12-04 20:24:15 DEBUG (Thread-21) [tellduslive] Response 200 application/json; charset=utf-8 {'sensor': [{'editable': 1, 'id': '13047111', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '12.3', 'minTime': 1511605874, 'name': 'temp', 'maxTime': 1502457878, 'max': '27.9', 'lastUpdated': 1511605874, 'value': '12.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Altanentre', 'miscValues': None, 'sensorId': '11', 'battery': 100, 'lastUpdated': 1511605874, 'keepHistory': 0}, {'editable': 1, 'id': '13046930', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '8', 'minTime': 1511352779, 'name': 'temp', 'maxTime': 1501869703, 'max': '27.7', 'lastUpdated': 1512415161, 'value': '9.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Huvudentre', 'miscValues': '{}', 'sensorId': '10', 'battery': 100, 'lastUpdated': 1512415161, 'keepHistory': 0}, {'editable': 1, 'id': '13047173', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '1.8', 'minTime': 1511330513, 'name': 'temp', 'maxTime': 1501871134, 'max': '27.5', 'lastUpdated': 1512414768, 'value': '2.9'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Kallardorr', 'miscValues': None, 'sensorId': '12', 'battery': 60, 'lastUpdated': 1512414768, 'keepHistory': 0}, {'editable': 1, 'id': '11132989', 'online': '1', 'model': 'temperature', 'client': '238543', 'data': [{'scale': '0', 'min': '6.7', 'minTime': 1511345036, 'name': 'temp', 'maxTime': 1501162938, 'max': '19.6', 'lastUpdated': 1512414962, 'value': '7.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'KÀllare Entré', 'miscValues': None, 'sensorId': '7', 'battery': 254, 'lastUpdated': 1512414962, 'keepHistory': 1}, {'editable': 1, 'id': '11132986', 'online': '1', 'model': 'temperaturehumidity', 'client': '238543', 'data': [{'scale': '0', 'min': '6.8', 'minTime': 1511335959, 'name': 'temp', 'maxTime': 1490382849, 'max': '21.6', 'lastUpdated': 1512414957, 'value': '7.3'}, {'scale': '0', 'min': '40', 'minTime': 1490383185, 'name': 'humidity', 'maxTime': 1506603434, 'max': '81', 'lastUpdated': 1512414957, 'value': '74'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'KÀllare Pannrum', 'miscValues': None, 'sensorId': '6', 'battery': 254, 'lastUpdated': 1512414957, 'keepHistory': 1}, {'editable': 1, 'id': '10599385', 'online': '1', 'model': 'temperaturehumidity', 'client': '238543', 'data': [{'scale': '0', 'min': '8.1', 'minTime': 1510549412, 'name': 'temp', 'maxTime': 1495971689, 'max': '27.8', 'lastUpdated': 1512414996, 'value': '9.3'}, {'scale': '0', 'min': '20', 'minTime': 1487892558, 'name': 'humidity', 'maxTime': 1506524785, 'max': '71', 'lastUpdated': 1512414996, 'value': '63'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'Kök', 'miscValues': None, 'sensorId': '2', 'battery': 254, 'lastUpdated': 1512414996, 'keepHistory': 1}, {'editable': 1, 'id': '13324895', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'lastUpdated': 1512413928, 'name': 'watt', 'value': '11.17'}, {'scale': '2', 'name': 'watt', 'maxTime': 1512394442, 'max': '22.3', 'lastUpdated': 1512413928, 'value': '0'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge Altanbelysning effekt', 'miscValues': None, 'sensorId': '20', 'battery': 254, 'lastUpdated': 1512413928, 'keepHistory': 0}, {'editable': 1, 'id': '13324896', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge Altanbelysning uterummet', 'miscValues': None, 'sensorId': '21', 'battery': 254, 'lastUpdated': 1503755512, 'keepHistory': 0}, {'editable': 1, 'id': '13333430', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'lastUpdated': 1512414101, 'name': 'watt', 'value': '9.99'}, {'scale': '2', 'name': 'watt', 'maxTime': 1511082248, 'max': '98.9', 'lastUpdated': 1512414101, 'value': '0'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge vardagsrum fonster', 'miscValues': None, 'sensorId': '23', 'battery': 254, 'lastUpdated': 1512414101, 'keepHistory': 0}, {'editable': 1, 'id': '13333431', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge vardagsrum fonster 1', 'miscValues': None, 'sensorId': '24', 'battery': 254, 'lastUpdated': 1503817381, 'keepHistory': 0}, {'editable': 1, 'id': '13324897', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge ytterbelysning altanstolpe', 'miscValues': None, 'sensorId': '22', 'battery': 254, 'lastUpdated': 1503755512, 'keepHistory': 0}, {'editable': 1, 'id': '10599386', 'online': '1', 'model': 'temperature', 'client': '238543', 'data': [{'scale': '0', 'min': '-10.8', 'minTime': 1492227495, 'name': 'temp', 'maxTime': 1487183987, 'max': '34.1', 'lastUpdated': 1512414953, 'value': '-5.4'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'Utomhus', 'miscValues': None, 'sensorId': '3', 'battery': 254, 'lastUpdated': 1512414953, 'keepHistory': 1}]}
2017-12-04 20:24:37 ERROR (Thread-20) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 227, in update
    self._sync()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 267, in _sync
    identify_device(device))
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 240, in identify_device
    if device.methods & DIM:
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'
2017-12-04 20:25:15 DEBUG (Thread-8) [homeassistant.components.tellduslive] Updating
2017-12-04 20:25:15 DEBUG (Thread-8) [tellduslive] Request https://api.telldus.com/json/devices/list {'supportedMethods': 915, 'includeIgnored': 0}
2017-12-04 20:25:16 DEBUG (Thread-8) [tellduslive] Response 200 application/json; charset=utf-8 {'device': [{'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '4', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Altanbelysning', 'state': 1, 'id': '1566445'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '11', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Altanentre', 'state': 2, 'id': '1714975'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '8', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Bangladesh 1', 'state': 2, 'id': '1612746'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '9', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Bangladesh 2', 'state': 2, 'id': '1612749'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '26', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'BortalÀge', 'state': 1, 'id': '1835509'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '10', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Huvudentre', 'state': 2, 'id': '1714957'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '12', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Kallardorr', 'state': 2, 'id': '1714988'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '20', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altanbelysning effekt', 'state': 2, 'id': '1735209'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '21', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altanbelysning uterummet', 'state': 2, 'id': '1735210'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '19', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altandorr Open', 'state': 2, 'id': '1717387'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '17', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Huvudentre Open', 'state': 2, 'id': '1717372'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '18', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Kallardorr open', 'state': 2, 'id': '1717381'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '23', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster', 'state': 2, 'id': '1735839'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '24', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster 1', 'state': 2, 'id': '1735840'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '25', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster 2', 'state': 2, 'id': '1735841'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '22', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge ytterbelysning altanstolpe', 'state': 1, 'id': '1735211'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '13', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'The button white', 'state': 2, 'id': '1715013'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '15', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'The remote', 'state': 1, 'id': '1715137'}]}
2017-12-04 20:25:16 DEBUG (Thread-8) [tellduslive] Request https://api.telldus.com/json/sensors/list {'includeValues': 1, 'includeIgnored': 0, 'includeScale': 1}
2017-12-04 20:25:16 DEBUG (Thread-8) [tellduslive] Response 200 application/json; charset=utf-8 {'sensor': [{'editable': 1, 'id': '13047111', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '12.3', 'minTime': 1511605874, 'name': 'temp', 'maxTime': 1502457878, 'max': '27.9', 'lastUpdated': 1511605874, 'value': '12.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Altanentre', 'miscValues': None, 'sensorId': '11', 'battery': 100, 'lastUpdated': 1511605874, 'keepHistory': 0}, {'editable': 1, 'id': '13046930', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '8', 'minTime': 1511352779, 'name': 'temp', 'maxTime': 1501869703, 'max': '27.7', 'lastUpdated': 1512415161, 'value': '9.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Huvudentre', 'miscValues': '{}', 'sensorId': '10', 'battery': 100, 'lastUpdated': 1512415161, 'keepHistory': 0}, {'editable': 1, 'id': '13047173', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '1.8', 'minTime': 1511330513, 'name': 'temp', 'maxTime': 1501871134, 'max': '27.5', 'lastUpdated': 1512414768, 'value': '2.9'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Kallardorr', 'miscValues': None, 'sensorId': '12', 'battery': 60, 'lastUpdated': 1512414768, 'keepHistory': 0}, {'editable': 1, 'id': '11132989', 'online': '1', 'model': 'temperature', 'client': '238543', 'data': [{'scale': '0', 'min': '6.7', 'minTime': 1511345036, 'name': 'temp', 'maxTime': 1501162938, 'max': '19.6', 'lastUpdated': 1512414962, 'value': '7.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'KÀllare Entré', 'miscValues': None, 'sensorId': '7', 'battery': 254, 'lastUpdated': 1512414962, 'keepHistory': 1}, {'editable': 1, 'id': '11132986', 'online': '1', 'model': 'temperaturehumidity', 'client': '238543', 'data': [{'scale': '0', 'min': '6.8', 'minTime': 1511335959, 'name': 'temp', 'maxTime': 1490382849, 'max': '21.6', 'lastUpdated': 1512414957, 'value': '7.3'}, {'scale': '0', 'min': '40', 'minTime': 1490383185, 'name': 'humidity', 'maxTime': 1506603434, 'max': '81', 'lastUpdated': 1512414957, 'value': '74'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'KÀllare Pannrum', 'miscValues': None, 'sensorId': '6', 'battery': 254, 'lastUpdated': 1512414957, 'keepHistory': 1}, {'editable': 1, 'id': '10599385', 'online': '1', 'model': 'temperaturehumidity', 'client': '238543', 'data': [{'scale': '0', 'min': '8.1', 'minTime': 1510549412, 'name': 'temp', 'maxTime': 1495971689, 'max': '27.8', 'lastUpdated': 1512414996, 'value': '9.3'}, {'scale': '0', 'min': '20', 'minTime': 1487892558, 'name': 'humidity', 'maxTime': 1506524785, 'max': '71', 'lastUpdated': 1512414996, 'value': '63'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'Kök', 'miscValues': None, 'sensorId': '2', 'battery': 254, 'lastUpdated': 1512414996, 'keepHistory': 1}, {'editable': 1, 'id': '13324895', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'lastUpdated': 1512413928, 'name': 'watt', 'value': '11.17'}, {'scale': '2', 'name': 'watt', 'maxTime': 1512394442, 'max': '22.3', 'lastUpdated': 1512413928, 'value': '0'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge Altanbelysning effekt', 'miscValues': None, 'sensorId': '20', 'battery': 254, 'lastUpdated': 1512413928, 'keepHistory': 0}, {'editable': 1, 'id': '13324896', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge Altanbelysning uterummet', 'miscValues': None, 'sensorId': '21', 'battery': 254, 'lastUpdated': 1503755512, 'keepHistory': 0}, {'editable': 1, 'id': '13333430', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'lastUpdated': 1512414101, 'name': 'watt', 'value': '9.99'}, {'scale': '2', 'name': 'watt', 'maxTime': 1511082248, 'max': '98.9', 'lastUpdated': 1512414101, 'value': '0'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge vardagsrum fonster', 'miscValues': None, 'sensorId': '23', 'battery': 254, 'lastUpdated': 1512414101, 'keepHistory': 0}, {'editable': 1, 'id': '13333431', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge vardagsrum fonster 1', 'miscValues': None, 'sensorId': '24', 'battery': 254, 'lastUpdated': 1503817381, 'keepHistory': 0}, {'editable': 1, 'id': '13324897', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge ytterbelysning altanstolpe', 'miscValues': None, 'sensorId': '22', 'battery': 254, 'lastUpdated': 1503755512, 'keepHistory': 0}, {'editable': 1, 'id': '10599386', 'online': '1', 'model': 'temperature', 'client': '238543', 'data': [{'scale': '0', 'min': '-10.8', 'minTime': 1492227495, 'name': 'temp', 'maxTime': 1487183987, 'max': '34.1', 'lastUpdated': 1512414953, 'value': '-5.4'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'Utomhus', 'miscValues': None, 'sensorId': '3', 'battery': 254, 'lastUpdated': 1512414953, 'keepHistory': 1}]}
2017-12-04 20:26:16 DEBUG (Thread-20) [homeassistant.components.tellduslive] Updating
2017-12-04 20:26:16 DEBUG (Thread-20) [tellduslive] Request https://api.telldus.com/json/devices/list {'supportedMethods': 915, 'includeIgnored': 0}
2017-12-04 20:26:17 DEBUG (Thread-20) [tellduslive] Response 200 application/json; charset=utf-8 {'device': [{'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '4', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Altanbelysning', 'state': 1, 'id': '1566445'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '11', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Altanentre', 'state': 2, 'id': '1714975'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '8', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Bangladesh 1', 'state': 2, 'id': '1612746'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '9', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Bangladesh 2', 'state': 2, 'id': '1612749'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '26', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'BortalÀge', 'state': 1, 'id': '1835509'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '10', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Huvudentre', 'state': 2, 'id': '1714957'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '12', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Kallardorr', 'state': 2, 'id': '1714988'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '20', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altanbelysning effekt', 'state': 2, 'id': '1735209'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '21', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altanbelysning uterummet', 'state': 2, 'id': '1735210'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '19', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altandorr Open', 'state': 2, 'id': '1717387'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '17', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Huvudentre Open', 'state': 2, 'id': '1717372'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '18', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Kallardorr open', 'state': 2, 'id': '1717381'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '23', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster', 'state': 2, 'id': '1735839'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '24', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster 1', 'state': 2, 'id': '1735840'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '25', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster 2', 'state': 2, 'id': '1735841'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '22', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge ytterbelysning altanstolpe', 'state': 1, 'id': '1735211'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '13', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'The button white', 'state': 2, 'id': '1715013'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '15', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'The remote', 'state': 1, 'id': '1715137'}]}
2017-12-04 20:26:17 DEBUG (Thread-20) [tellduslive] Request https://api.telldus.com/json/sensors/list {'includeValues': 1, 'includeIgnored': 0, 'includeScale': 1}
2017-12-04 20:26:17 DEBUG (Thread-20) [tellduslive] Response 200 application/json; charset=utf-8 {'sensor': [{'editable': 1, 'id': '13047111', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '12.3', 'minTime': 1511605874, 'name': 'temp', 'maxTime': 1502457878, 'max': '27.9', 'lastUpdated': 1511605874, 'value': '12.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Altanentre', 'miscValues': None, 'sensorId': '11', 'battery': 100, 'lastUpdated': 1511605874, 'keepHistory': 0}, {'editable': 1, 'id': '13046930', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '8', 'minTime': 1511352779, 'name': 'temp', 'maxTime': 1501869703, 'max': '27.7', 'lastUpdated': 1512415161, 'value': '9.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Huvudentre', 'miscValues': '{}', 'sensorId': '10', 'battery': 100, 'lastUpdated': 1512415161, 'keepHistory': 0}, {'editable': 1, 'id': '13047173', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '1.8', 'minTime': 1511330513, 'name': 'temp', 'maxTime': 1501871134, 'max': '27.5', 'lastUpdated': 1512414768, 'value': '2.9'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Kallardorr', 'miscValues': None, 'sensorId': '12', 'battery': 60, 'lastUpdated': 1512414768, 'keepHistory': 0}, {'editable': 1, 'id': '11132989', 'online': '1', 'model': 'temperature', 'client': '238543', 'data': [{'scale': '0', 'min': '6.7', 'minTime': 1511345036, 'name': 'temp', 'maxTime': 1501162938, 'max': '19.6', 'lastUpdated': 1512414962, 'value': '7.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'KÀllare Entré', 'miscValues': None, 'sensorId': '7', 'battery': 254, 'lastUpdated': 1512414962, 'keepHistory': 1}, {'editable': 1, 'id': '11132986', 'online': '1', 'model': 'temperaturehumidity', 'client': '238543', 'data': [{'scale': '0', 'min': '6.8', 'minTime': 1511335959, 'name': 'temp', 'maxTime': 1490382849, 'max': '21.6', 'lastUpdated': 1512414957, 'value': '7.3'}, {'scale': '0', 'min': '40', 'minTime': 1490383185, 'name': 'humidity', 'maxTime': 1506603434, 'max': '81', 'lastUpdated': 1512414957, 'value': '74'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'KÀllare Pannrum', 'miscValues': None, 'sensorId': '6', 'battery': 254, 'lastUpdated': 1512414957, 'keepHistory': 1}, {'editable': 1, 'id': '10599385', 'online': '1', 'model': 'temperaturehumidity', 'client': '238543', 'data': [{'scale': '0', 'min': '8.1', 'minTime': 1510549412, 'name': 'temp', 'maxTime': 1495971689, 'max': '27.8', 'lastUpdated': 1512414996, 'value': '9.3'}, {'scale': '0', 'min': '20', 'minTime': 1487892558, 'name': 'humidity', 'maxTime': 1506524785, 'max': '71', 'lastUpdated': 1512414996, 'value': '63'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'Kök', 'miscValues': None, 'sensorId': '2', 'battery': 254, 'lastUpdated': 1512414996, 'keepHistory': 1}, {'editable': 1, 'id': '13324895', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'lastUpdated': 1512413928, 'name': 'watt', 'value': '11.17'}, {'scale': '2', 'name': 'watt', 'maxTime': 1512394442, 'max': '22.3', 'lastUpdated': 1512413928, 'value': '0'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge Altanbelysning effekt', 'miscValues': None, 'sensorId': '20', 'battery': 254, 'lastUpdated': 1512413928, 'keepHistory': 0}, {'editable': 1, 'id': '13324896', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge Altanbelysning uterummet', 'miscValues': None, 'sensorId': '21', 'battery': 254, 'lastUpdated': 1503755512, 'keepHistory': 0}, {'editable': 1, 'id': '13333430', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'lastUpdated': 1512414101, 'name': 'watt', 'value': '9.99'}, {'scale': '2', 'name': 'watt', 'maxTime': 1511082248, 'max': '98.9', 'lastUpdated': 1512414101, 'value': '0'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge vardagsrum fonster', 'miscValues': None, 'sensorId': '23', 'battery': 254, 'lastUpdated': 1512414101, 'keepHistory': 0}, {'editable': 1, 'id': '13333431', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge vardagsrum fonster 1', 'miscValues': None, 'sensorId': '24', 'battery': 254, 'lastUpdated': 1503817381, 'keepHistory': 0}, {'editable': 1, 'id': '13324897', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge ytterbelysning altanstolpe', 'miscValues': None, 'sensorId': '22', 'battery': 254, 'lastUpdated': 1503755512, 'keepHistory': 0}, {'editable': 1, 'id': '10599386', 'online': '1', 'model': 'temperature', 'client': '238543', 'data': [{'scale': '0', 'min': '-10.8', 'minTime': 1492227495, 'name': 'temp', 'maxTime': 1487183987, 'max': '34.1', 'lastUpdated': 1512415577, 'value': '-5.4'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'Utomhus', 'miscValues': None, 'sensorId': '3', 'battery': 254, 'lastUpdated': 1512415577, 'keepHistory': 1}]}
2017-12-04 20:27:17 DEBUG (Thread-9) [homeassistant.components.tellduslive] Updating
2017-12-04 20:27:17 DEBUG (Thread-9) [tellduslive] Request https://api.telldus.com/json/devices/list {'supportedMethods': 915, 'includeIgnored': 0}
2017-12-04 20:27:18 DEBUG (Thread-9) [tellduslive] Response 200 application/json; charset=utf-8 {'device': [{'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '4', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Altanbelysning', 'state': 1, 'id': '1566445'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '11', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Altanentre', 'state': 2, 'id': '1714975'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '8', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Bangladesh 1', 'state': 2, 'id': '1612746'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '9', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Bangladesh 2', 'state': 2, 'id': '1612749'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '26', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'BortalÀge', 'state': 1, 'id': '1835509'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '10', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Huvudentre', 'state': 2, 'id': '1714957'}, {'editable': 1, 'type': 'device', 'methods': 0, 'online': '1', 'client': '238543', 'clientDeviceId': '12', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Kallardorr', 'state': 2, 'id': '1714988'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '20', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altanbelysning effekt', 'state': 2, 'id': '1735209'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '21', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altanbelysning uterummet', 'state': 2, 'id': '1735210'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '19', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Altandorr Open', 'state': 2, 'id': '1717387'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '17', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Huvudentre Open', 'state': 2, 'id': '1717372'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '18', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge Kallardorr open', 'state': 2, 'id': '1717381'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '23', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster', 'state': 2, 'id': '1735839'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '24', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster 1', 'state': 2, 'id': '1735840'}, {'editable': 1, 'type': 'device', 'methods': 19, 'online': '1', 'client': '238543', 'clientDeviceId': '25', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge vardagsrum fonster 2', 'state': 2, 'id': '1735841'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '22', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'Sallinge ytterbelysning altanstolpe', 'state': 1, 'id': '1735211'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '13', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'The button white', 'state': 2, 'id': '1715013'}, {'editable': 1, 'type': 'device', 'methods': 3, 'online': '1', 'client': '238543', 'clientDeviceId': '15', 'statevalue': None, 'ignored': 0, 'clientName': 'SÀllinge320', 'name': 'The remote', 'state': 1, 'id': '1715137'}]}
2017-12-04 20:27:18 DEBUG (Thread-9) [tellduslive] Request https://api.telldus.com/json/sensors/list {'includeValues': 1, 'includeIgnored': 0, 'includeScale': 1}
2017-12-04 20:27:18 DEBUG (Thread-9) [tellduslive] Response 200 application/json; charset=utf-8 {'sensor': [{'editable': 1, 'id': '13047111', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '12.3', 'minTime': 1511605874, 'name': 'temp', 'maxTime': 1502457878, 'max': '27.9', 'lastUpdated': 1511605874, 'value': '12.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Altanentre', 'miscValues': None, 'sensorId': '11', 'battery': 100, 'lastUpdated': 1511605874, 'keepHistory': 0}, {'editable': 1, 'id': '13046930', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '8', 'minTime': 1511352779, 'name': 'temp', 'maxTime': 1501869703, 'max': '27.7', 'lastUpdated': 1512415161, 'value': '9.3'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Huvudentre', 'miscValues': '{}', 'sensorId': '10', 'battery': 100, 'lastUpdated': 1512415161, 'keepHistory': 0}, {'editable': 1, 'id': '13047173', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'min': '1.8', 'minTime': 1511330513, 'name': 'temp', 'maxTime': 1501871134, 'max': '27.5', 'lastUpdated': 1512414768, 'value': '2.9'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Kallardorr', 'miscValues': None, 'sensorId': '12', 'battery': 60, 'lastUpdated': 1512414768, 'keepHistory': 0}, {'editable': 1, 'id': '11132989', 'online': '1', 'model': 'temperature', 'client': '238543', 'data': [{'scale': '0', 'min': '6.7', 'minTime': 1511345036, 'name': 'temp', 'maxTime': 1501162938, 'max': '19.6', 'lastUpdated': 1512415586, 'value': '7.2'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'KÀllare Entré', 'miscValues': None, 'sensorId': '7', 'battery': 254, 'lastUpdated': 1512415586, 'keepHistory': 1}, {'editable': 1, 'id': '11132986', 'online': '1', 'model': 'temperaturehumidity', 'client': '238543', 'data': [{'scale': '0', 'min': '6.8', 'minTime': 1511335959, 'name': 'temp', 'maxTime': 1490382849, 'max': '21.6', 'lastUpdated': 1512415581, 'value': '7.3'}, {'scale': '0', 'min': '40', 'minTime': 1490383185, 'name': 'humidity', 'maxTime': 1506603434, 'max': '81', 'lastUpdated': 1512415581, 'value': '74'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'KÀllare Pannrum', 'miscValues': None, 'sensorId': '6', 'battery': 254, 'lastUpdated': 1512415581, 'keepHistory': 1}, {'editable': 1, 'id': '10599385', 'online': '1', 'model': 'temperaturehumidity', 'client': '238543', 'data': [{'scale': '0', 'min': '8.1', 'minTime': 1510549412, 'name': 'temp', 'maxTime': 1495971689, 'max': '27.8', 'lastUpdated': 1512415620, 'value': '9.3'}, {'scale': '0', 'min': '20', 'minTime': 1487892558, 'name': 'humidity', 'maxTime': 1506524785, 'max': '71', 'lastUpdated': 1512415620, 'value': '63'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'Kök', 'miscValues': None, 'sensorId': '2', 'battery': 254, 'lastUpdated': 1512415620, 'keepHistory': 1}, {'editable': 1, 'id': '13324895', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'lastUpdated': 1512413928, 'name': 'watt', 'value': '11.17'}, {'scale': '2', 'name': 'watt', 'maxTime': 1512394442, 'max': '22.3', 'lastUpdated': 1512413928, 'value': '0'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge Altanbelysning effekt', 'miscValues': None, 'sensorId': '20', 'battery': 254, 'lastUpdated': 1512413928, 'keepHistory': 0}, {'editable': 1, 'id': '13324896', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge Altanbelysning uterummet', 'miscValues': None, 'sensorId': '21', 'battery': 254, 'lastUpdated': 1503755512, 'keepHistory': 0}, {'editable': 1, 'id': '13333430', 'online': '1', 'model': 'n/a', 'client': '238543', 'data': [{'scale': '0', 'lastUpdated': 1512414101, 'name': 'watt', 'value': '9.99'}, {'scale': '2', 'name': 'watt', 'maxTime': 1511082248, 'max': '98.9', 'lastUpdated': 1512414101, 'value': '0'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge vardagsrum fonster', 'miscValues': None, 'sensorId': '23', 'battery': 254, 'lastUpdated': 1512414101, 'keepHistory': 0}, {'editable': 1, 'id': '13333431', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge vardagsrum fonster 1', 'miscValues': None, 'sensorId': '24', 'battery': 254, 'lastUpdated': 1503817381, 'keepHistory': 0}, {'editable': 1, 'id': '13324897', 'online': '1', 'model': 'n/a', 'client': '238543', 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'zwave', 'name': 'Sallinge ytterbelysning altanstolpe', 'miscValues': None, 'sensorId': '22', 'battery': 254, 'lastUpdated': 1503755512, 'keepHistory': 0}, {'editable': 1, 'id': '10599386', 'online': '1', 'model': 'temperature', 'client': '238543', 'data': [{'scale': '0', 'min': '-10.8', 'minTime': 1492227495, 'name': 'temp', 'maxTime': 1487183987, 'max': '34.1', 'lastUpdated': 1512415577, 'value': '-5.4'}], 'ignored': 0, 'clientName': 'SÀllinge320', 'protocol': 'fineoffset', 'name': 'Utomhus', 'miscValues': None, 'sensorId': '3', 'battery': 254, 'lastUpdated': 1512415577, 'keepHistory': 1}]}
2017-12-04 20:27:35 ERROR (Thread-14) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 227, in update
    self._sync()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 267, in _sync
    identify_device(device))
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 240, in identify_device
    if device.methods & DIM:
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'
2017-12-04 20:27:35 ERROR (Thread-14) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 227, in update
    self._sync()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 267, in _sync
    identify_device(device))
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 240, in identify_device
    if device.methods & DIM:
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'
2017-12-04 20:27:35 ERROR (Thread-14) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 227, in update
    self._sync()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 267, in _sync
    identify_device(device))
  File "/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 240, in identify_device
    if device.methods & DIM:
TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'

Best Regards Peter

Hi!

New install of hassbian 1.31, upgraded home assistant to 0.59.1.

2017-12-04 20:25:33 ERROR (MainThread) [homeassistant.setup] Error during setup of component tellduslive
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py", line 193, in _async_setup_component
    component.setup, hass, processed_config)
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, 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/tellduslive.py", line 71, in setup
    from tellduslive import Session, supports_local_api
  File "/srv/homeassistant/lib/python3.5/site-packages/tellduslive.py", line 9, in <module>
    from requests_oauthlib import OAuth1Session
  File "/srv/homeassistant/lib/python3.5/site-packages/requests_oauthlib/__init__.py", line 9, in <module>
    if requests.__version__ < '2.0.0':
TypeError: unorderable types: module() < str()

Any help appreciated!
/Johan

@Spiff1 the log you provided confirms that the latest fix is correct, since it clearly shows that there are sensors in your configuration with no data attribute (don't ask me why). The latest version should fix this issue. Are you sure that HA is using the latest version you installed?

How can I confirm that HA is using the latest version of tellduslive?

Hi!

I noticed that after I upgrade tellduslive, the old version is installed again. I'm sure this is a simple mistake, I just don't know how to do it correct...

pi@hassbian:~ $ sudo journalctl -fu [email protected] | grep tellduslive

Dec 05 21:50:12 hassbian hass[930]: 2017-12-05 21:50:12 INFO (MainThread) [homeassistant.loader] Loaded tellduslive from homeassistant.components.tellduslive
Dec 05 21:50:18 hassbian hass[930]: 2017-12-05 21:50:18 INFO (Thread-3) [homeassistant.util.package] Attempting install of tellduslive==0.10.3
Dec 05 21:51:28 hassbian hass[930]: 2017-12-05 21:51:28 INFO (MainThread) [homeassistant.setup] Setting up tellduslive
Dec 05 21:51:30 hassbian hass[930]: 2017-12-05 21:51:30 ERROR (MainThread) [homeassistant.setup] Error during setup of component tellduslive
Dec 05 21:51:30 hassbian hass[930]:   File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/tellduslive.py", line 71, in setup
Dec 05 21:51:30 hassbian hass[930]:     from tellduslive import Session, support s_local_api

I had the same problem after a fresh install (ver 0.60) and python 3.6 in venv.
The solution for me was to uncomment the lines in "__init__.py" that check requests version < 2.0.0.
As the error log below states, the problem is the incorrect operand "<" between module() and str()

File "/home/hass/.homeassistant/deps/lib/python3.5/site-packages/requests_oauthlib/__init__.py", line 9, in
if requests.__version__ < '2.0.0':
TypeError: unorderable types: module() < str()

After doing this, the UI showed the config options for Telldus live and it worked like a charm.

Hope this helps someone else

@wigander it's weird that your library path points to python3.5 if you're using python3.6.

@MartinHjelmare The debug output is not from my system. I copied that from above just to point out what the problem was.
But yes, my log did point to the correct 3.6 path.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aguilaair picture aguilaair  Â·  162Comments

rschaeuble picture rschaeuble  Â·  230Comments

gieljnssns picture gieljnssns  Â·  277Comments

balloob picture balloob  Â·  371Comments

sagilo picture sagilo  Â·  130Comments