LG ThinQ - Allow to change the access token from the GUI

Hello,

To use the LG ThinQ one needs to create a PAT at the LG site and enter it when adding the integration. If the PAT needs to be changed for any reason (mine just stopped working after 3 months or so), there is no easy way to do it. I had to delete and re-add the integration.

Investigating the configuration directory the token is stored in .storage/core.config_entries. I guess one can change it manually there, but that’s a bit against the idea. I have also noticed that the unique_id is set equal to the access_token - I am not sure whether this has any practical disadvantage, but using a credential as an identity does not sound right.

So my feature request is

  • Add a possibility to configure the integration to edit the PAT
  • Decouple the identity from the PAT

Thanks