Hi folks,
after a reboot the Somfy Tahoma integration stop working.
I already checked the login credentials and there are correct. I have been using this configuration for years without any issue…
Thanks
Thu Dec 05 2019 10:32:58 GMT+0100 (CET)
Error during setup of component tahoma
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/tahoma_api/tahoma_api.py", line 44, in login
result = request.json()
File "/usr/local/lib/python3.7/site-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.7/site-packages/simplejson/__init__.py", line 518, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.7/site-packages/simplejson/decoder.py", line 370, in decode
obj, end = self.raw_decode(s)
File "/usr/local/lib/python3.7/site-packages/simplejson/decoder.py", line 400, in raw_decode
return self.scan_once(s, idx=_w(s, idx).end())
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 176, in _async_setup_component
component.setup, hass, processed_config # type: ignore
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/tahoma/__init__.py", line 72, in setup
api = TahomaApi(username, password)
File "/usr/local/lib/python3.7/site-packages/tahoma_api/tahoma_api.py", line 30, in __init__
self.login()
File "/usr/local/lib/python3.7/site-packages/tahoma_api/tahoma_api.py", line 49, in login
request.reason + "(" + error + ")")
TypeError: can only concatenate str (not "int") to str
My configuration:
homeassistant:
# Somfy Tahoma
tahoma:
username: !secret tahoma_user
password: !secret tahoma_pw