DurgNomis-drol / ha_toyota

Toyota Connected Services integration for Home Assistant.
MIT License
148 stars 32 forks source link

Can't update credentials in integration #124

Closed gstevenson closed 1 year ago

gstevenson commented 1 year ago

Describe the bug If you change your Toyota credentials, the integration errors with

Failed to set up: Login failed, check your credentials! 401 - {"httpErrorCode":401,"message":"Couldn't authenticate with given username/password"}

.. but doesn't provide a way to supply the updated ones.

To Reproduce

  1. Update MyT password
  2. Refresh integration
  3. Error will be display

Expected behavior Probably fine to display an error, but the UI should allow you to update the stored credentials

DurgNomis-drol commented 1 year ago

If you choose to setup the integration again without deleting it, it will just overwrite the old integration with the new login info