bitfocus / companion-module-homeassistant-server

MIT License
12 stars 7 forks source link

Login attempt failed msgs with Long-Lived Access Tokens, While connected... #22

Open UWSCIA opened 1 year ago

UWSCIA commented 1 year ago

I'm seeing "Login attempt failed" messages in Home Assistant from this module while it's connected / Working... Also the Disable Action under Connections does not DISABLE, The messages continue... Also Deleting Module does not STOP, The messages continue... Only Quitting Companion STOPS the messages, This also confirms that it's this module causing the issue.

So two issues... "Login attempt failed" while there is a connection... could be due to a failed service instance (EG: added wrong token) running and not being removed until Companion is restarted... While the Correct instance is also running... And The Disable Action should stop all hooks or services from this modules.

After deleting the module and restarting Companion adding the module back with correct params... the messages stopped. But the Disabled Action does not show Disabled under Status

OS: POP_OS 22.04 Companion 2.4.0+4764 and Companion 2.4.0+4767