Error adding tellduslive - can not import name Client [solved]

Edit: Solved by updating to 0.51.2

I’m using Home Assistant 0.49.0 (Hassbian on RPI) and have added tellduslive:

  token_secret: MYKEYFROMTELLDUS

The config file validates and all other stuff in it works.

The log file:

2017-08-16 22:06:44 INFO (MainThread) [homeassistant.setup] Setting up tellduslive
2017-08-16 22:06:45 ERROR (MainThread) [homeassistant.setup] Error during setup of component tellduslive
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/", line 190, in _async_setup_component
    component.setup, hass, processed_config)
  File "/usr/lib/python3.4/asyncio/", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/", line 51, in setup
    client = TelldusLiveClient(hass, config)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/", line 71, in __init__
    from tellduslive import Client
ImportError: cannot import name 'Client'
2017-08-16 22:06:45 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service_call_id=3052674576-1, service_data=title=Invalid config, notification_id=invalid_config, message=The following components and platforms could not be set up:
* [tellduslive](
Please check your config, service=create>
2017-08-16 22:06:45 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=The following components and platforms could not be set up:
* [tellduslive](
Please check your config; title=Invalid config @ 2017-08-16T22:06:45.530082+02:00>>