jaroschek / home-assistant-myuplink

Custom Home Assistant integration for devices and sensors in myUplink account.
44 stars 10 forks source link

Oauth failed, all of a sudden #171

Open roccolord opened 2 weeks ago

roccolord commented 2 weeks ago

My credentials just broke without doing any change:

Token request for myuplink_xxxxxxx failed (invalid_grant): check authorization server configuration

I have not changed the credentials, have myuplink changed something?

image

roccolord commented 2 weeks ago

I had to remove and add the integration again with new credentials. New entities, lost stats. bummer.

Discolai commented 2 weeks ago

I had the same issue, but I managed to fix it without removing the integration and loosing old data.

  1. Disable my current integration entry.
  2. Add the integration back again.
  3. Complete the setup of a new integration entry.
  4. Disable the new integration entry.
  5. Enable the old entry again.
  6. Delete the new entry

This seems to have tricked home assistant to use the credentials generated by the new integration entry.