Error during setup of component TelldusLive

Hello,

I recently wiped my config and setup HA again. All works fine except TelldusLive integration. I used my old conifguration files because they contain my config I want to use. Still with this valid config I’m getting below errors (this exact config worked fine in 0.60)

More info on component

Below is the configuration.yaml I’m using:

homeassistant:

  # Name of the location where Home Assistant is running
  name: Huset

  # Location required to calculate the time the sun rises and sets
  latitude: .
  longitude: .
  
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 

  # metric/imperial
  unit_system: 

  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: /

#       Custom Device Names/hidden/states etc.      #
  customize: !include customize.yaml

#       TelldusLive Integration    #
tellduslive:


# Enables the frontend/webgui
frontend:


# Enables logging
logger:
  default: info

# Purge logging
recorder:
  purge_interval: 5
  purge_keep_days: 3

# Enables configuration UI
config:

http:
  # Uncomment this to add a password (recommended!)
  api_password: 
  # Uncomment this if you are using SSL or running in Docker etc
  # base_url: example.duckdns.org:8123

# Checks for available updates
updater:

# Discover some devices automatically
discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

# Enables support for tracking state changes over time.
history:

# View all events in a logbook
logbook:

# Track the sun
sun:

# Notify
notify:
  - name: 
    platform: 
    api_key: 

# Sensors
sensor: !include sensors.yaml

hue:
  bridges:
    - host: 

#         Alarm_clock & LedStrip Control              #
input_number:
  alarm_clock_hour:
    initial: 6
    min: 0
    max: 23
    step: 1
  alarm_clock_minute:
    initial: 15
    min: 0
    max: 55
    step: 5
  led_strip_1_animspeed: 
    name: LedStrip_1 animation speed
    initial: 150
    min: 1
    max: 150
    step: 10

input_boolean:
  alarm_clock_status:
    initial: on

#              MQTT                #
mqtt:
  broker: 
  port: 1883
  client_id: 
  username: 
  password: 

#              MediaPlayers            #
media_player:
  - platform: kodi
    host: 
    name: OpenElec - KODI
  - platform: cast
  - platform: denonavr
    host: 
    name: Marantz SR5006

#              Includes            #
group: !include groups.yaml
scene: !include scenes.yaml
automation: !include automations.yaml
script: !include scripts.yaml
light: !include light.yaml`

On startup it fails to load some componenents.
I’ve tried having it disabled and it still produces the same error. I never get the GUI-box to appear where I can setup the integration. (it works in a similar manner as setting up Philips Hue for the first time)

Below is the error message appearing in the log:

''2018-01-23 17:20:32 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 199, 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()
2018-01-23 17:20:32 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: service_call_id=1972216848-9, 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., domain=persistent_notification, service=create>
2018-01-23 17:20:32 INFO (MainThread) [homeassistant.core] Bus:Handling <Event platform_discovered[L]: discovered=('192.168.1.28', 'TellstickZnetLiteV2', 'ACCA5401AF08', 'E369PHH6VF', '1.0.14'), service=tellstick>
2018-01-23 17:20:32 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: old_state=None, entity_id=persistent_notification.invalid_config, new_state=<state persistent_notification.invalid_config=notifying; 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. @ 2018-01-23T18:20:32.788803+01:00>>

I’d be very glad if someone can me sort this out.

Cheers!

Check this out and see if it fixes it for you:
Telldus Live does not work in 0.57

1 Like

Thanks buddy!
That was awesome!

Problem solved :):heart_eyes::kissing_heart::star_struck: