Telldus live in Home Assistant 0.57.0

Hello !

Has Telldus live stopped working in Home Assistant 0.57.0 ?

/Micke

Same here. IKEA works, but Telldus broken after upgrade to 0.57.0.
/Conny

1 Like

Same error as this? https://github.com/home-assistant/home-assistant/issues/10326

Yes, same symptom.
Upgraded to 0.57.1 and still no luck with Telldus.

Start up log:
2017-11-05 00:18:11 ERROR (MainThread) [homeassistant.setup] Error during setup of component tellduslive
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/homeassistant/setup.py”, line 194, 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 “/usr/local/lib/python3.5/dist-packages/homeassistant/components/tellduslive.py”, line 51, in setup
client = TelldusLiveClient(hass, config)
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/tellduslive.py”, line 72, in init
from tellduslive import Client
File “/home/conny/.homeassistant/deps/lib/python3.5/site-packages/tellduslive.py”, line 10, in
from requests_oauthlib import OAuth1
File “/home/conny/.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()

configuration.yaml:
tellduslive:
public_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
private_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
token_secret: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

New error message in UI:
INVALID CONFIG
The following components and platforms could not be set up:
tellduslive
Please check your config.

Hope this will help someone more clever than me :wink:

Best regards
Conny

1 Like

Hmm, after upgrading to 0.57.2 I still have the same problem with Telldus.
Maybe I’m missing something?

/Conny

Same here, after 0.57.2 it broke:
2017-11-06 08:59:29 ERROR (MainThread) [homeassistant.setup] Error during setup of component tellduslive
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/setup.py”, line 194, in _async_setup_component
component.setup, hass, processed_config)
File “/usr/lib/python3.6/asyncio/futures.py”, line 332, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.6/asyncio/tasks.py”, line 250, in _wakeup
future.result()
File “/usr/lib/python3.6/asyncio/futures.py”, line 245, in result
raise self._exception
File “/usr/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/tellduslive.py”, line 51, in setup
client = TelldusLiveClient(hass, config)
File “/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/tellduslive.py”, line 72, in init
from tellduslive import Client
File “/srv/homeassistant/lib/python3.6/site-packages/tellduslive.py”, line 10, in
from requests_oauthlib import OAuth1
File “/srv/homeassistant/lib/python3.6/site-packages/requests_oauthlib/init.py”, line 9, in
if requests.version < ‘2.0.0’:
TypeError: ‘<’ not supported between instances of ‘module’ and ‘str’

Found a solution that worked for me and others at https://github.com/home-assistant/home-assistant/issues/10326

pip3 install requests==2.14.2

/Conny

1 Like

Upgraded to 0.57.3 and Telldus stopped working. Ran the same command again to get it to work:
pip3 install requests==2.14.2

/Conny

I have 0.58 and experience same problem, not sure i had this problem with version 0.57.3 though.

I run command:
pi@raspberrypi:~ $ pip3 install requests==2.14.2
Requirement already satisfied: requests==2.14.2 in ./.local/lib/python3.5/site-packages

Ideas?

And my error msg is:

Tue Nov 21 2017 21:50:28 GMT+0100 (W. Europe Standard Time)

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 101, in update
self._sync()
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py”, line 141, in _sync
identify_device(device))
File “/srv/homeassistant/homeassistant_venv/lib/python3.5/site-packages/homeassistant/components/tellduslive.py”, line 114, in identify_device
if device.methods & DIM:
TypeError: unsupported operand type(s) for &: ‘NoneType’ and ‘int’

Same issue here, upgraded to 0.58.1 and telldus stoped working. Tried “pip3 install requests==2.14.2” which ran ok but still don’t work. Got hassbian with old Python.

2017-11-22 18:06:11 ERROR (Thread-6) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 101, in update
self._sync()
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 141, in _sync
identify_device(device))
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/tellduslive.py”, line 114, in identify_device
if device.methods & DIM:
TypeError: unsupported operand type(s) for &: ‘NoneType’ and ‘int’

Upgraded to latest Hassbian with hass 0.58.1 and python 3.5.3. No working telldus. Ran the pip3 install requests==2.14.2” which ran ok but still no working telldus.

2017-11-22 21:08:32 ERROR (MainThread) [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/lib/python3.5/site-packages/homeassistant/components/tellduslive.py”, line 101, in update
self._sync()
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/tellduslive.py”, line 141, in _sync
identify_device(device))
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/tellduslive.py”, line 114, in identify_device
if device.methods & DIM:
TypeError: unsupported operand type(s) for &: ‘NoneType’ and ‘int’