Sholofly/lghorizon

LG Horizon stopped working with Sunrise Switzerland

Closed this issue · 1 comments

Describe the bug
LG Horizon does not get connected anymore. There is an error at startup and the Component shows up in HA as unavailable.

To Reproduce
Just start the system.

Expected behavior
I changed recently from UPC to Sunrise and was able to get it running with my mobile number and password.

Screenshots
No

Version of the component
0.5.5
IMO it stopped working with 0.5.4B1

Logging
The log is full of this
2024-01-21 20:34:40.460 ERROR (SyncWorker_13) [lghorizon.lghorizon_api] Giving up _do_api_call(...) after 3 tries (lghorizon.exceptions.LGHorizonApiConnectionError: Unable to call https://spark-prod-ch.gnp.cloud.sunrisetv.ch/auth-service/v1/mqtt/token. Error:401 Client Error: Unauthorized for url: https://spark-prod-ch.gnp.cloud.sunrisetv.ch/auth-service/v1/mqtt/token)

Additional context
When I open https://spark-prod-ch.gnp.cloud.sunrisetv.ch/auth-service/v1/mqtt/token in a browser I get no error and a token as reply.

See #90 please add your error there..