Open danilsson opened 7 months ago
Since I've made these changes to my local component, and it seems to have resolved the issue completely:
Have you changed the default refresh interval yourself? Or are you often changing the temperature? (Or do you maybe just have several thermostats?)
The backoff in #35 should fix it/work around the problem, yes. I'm just curious why you're getting them in the first place. I don't think I've ever seen it, but I mostly use it as a fancy read-only sensor
This was with the default refresh rate, but I was changing the temperature based on the electricity price, sometimes quite frequently. I have two thermostats.
I wanted to try to implement a DataUpdateCoordinator that pulls data only once, using GetUserDevices
, instead of separately for each thermostat, but I find the HA documentation quite confusing :D
I've been consistently getting the following error in Home Assistant.
Stepping through the code with debugger I've found that it happens when the API returns 429 (Too many requests).