Yesterday after a restart of Hass.IO my TaHoma component doesn´t work anymore. I get this error in the log.
Is there anyone that can help me?
Whats wrong
2019-12-06 09:28:57 ERROR (MainThread) [homeassistant.setup] 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 525, 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 73, 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