Open vistalba opened 4 years ago
Any plans or news to this? :( I really like this integration but it seems like it isn't maintained anymore. I do not have the knowledge to make a PR :(
@vistalba Refreshing the Token from the Miele Website worked for my to get it back running.
@breiti78 I alreay did this and it didn't work :( hhmmmm....
How does your config look like? Do you use !secret
?
configuration.yaml
miele:
client_id: !secret miele_clientid
client_secret: !secret miele_clientsecret
lang: de
secret.yaml
miele_clientid: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx
miele_clientsecret: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have also added cache_path: /local/miele to the configuration as location where the token gets stored. After changing this I had to re authorize the Miele add-in as the message popped up in Home Assistant. After entering email and password in the Miele Website and accepting the authorization everything was working.
I now did the same. Defined new client_id and new client_secret. I deleted the token file and restarted HA. Afther that, I get the message to "configure" so I can link client_id/client_secret with my account. I did this process and the file gets recreated. But afther that I get the same issue as before and all entities are "unavailable".
Edit:
But now appread another error message in log:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 193, in _async_setup_component
result = await asyncio.wait_for(task, SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/config/custom_components/miele/__init__.py", line 127, in async_setup
data_get_devices = await client.get_devices(lang)
File "/config/custom_components/miele/miele_at_home.py", line 46, in get_devices
for home_device in home_devices:
TypeError: 'coroutine' object is not iterable
Any news or input about this issue? I'm still running in this issue. Already tried to re-auth but it doesn't help at all :(
Since a few days the component isn't working anymore:
As the error is "token_expired" I created a new token but run into the same error.