Closed soeter01 closed 7 months ago
I'm in the same boat.
Interestingly, the setup with a second home, complete with another Home Assistant instance and Watts integration, runs flawlessly. Cannot find any diffrences core/firmware/setting wise. I've checked for discrepancies in core, firmware, and settings, but haven't found any.
I have to do some final checks but it looks like there's a trailing slash missing at line 123 of watts_api.py
So change the line from
url="https://smarthome.wattselectronics.com/api/v0.1/human/smarthome/read",
to
url="https://smarthome.wattselectronics.com/api/v0.1/human/smarthome/read/",
and it should not give any errors. I'll do some more investigating but if this is the solution i'll create a new release.
Verified your suggested modification, and it performs like a charm agian!
Unfortunately, I've already attempted to restore the second HA instance, but it's stuck in the restoration process for like an hour..
Thanks pwesters for such a quick fix - it is indeed working again!
I had the same issue and the suggested fix also worked for me.
After many months of perfect operation today the integration fails at start up with the following error in the HA log: "Something went wrong fetching user data. Code: 5, Key: ERR_ROUTE, Value: Route error, Data: {}"
Re downloading, re-configuring or restarting HA did not help.
Any ideas?