HomeAssistant-Mods / home-assistant-miele

Miele integration for Home assistant
147 stars 30 forks source link

Error during setup of component miele #161

Closed 1Abgebaut closed 1 year ago

1Abgebaut commented 1 year ago

Hello, I've tried to get Miele working, but every time I tried it came with that error: Error during setup of component miele Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 286, in _async_setup_component result = await task ^^^^^^^^^^ File "/config/custom_components/miele/init.py", line 404, in async_setup hass.data[DOMAIN][DATA_OAUTH] = MieleOAuth( ^^^^^^^^^^^ File "/config/custom_components/miele/miele_at_home.py", line 160, in init self._token = self._get_cached_token() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/miele/miele_at_home.py", line 227, in _get_cached_token token = json.loads(token_info_string) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/json/decoder.py", line 340, in decode raise JSONDecodeError("Extra data", s, end) json.decoder.JSONDecodeError: Extra data: line 1 column 192 (char 191)

Is there someone who could help with that issue?