You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did not check for other unavailable sensors in this integration.
I restarted home assistant multiple times but that did not solve the issue.
I added some logging statements to the integration to try to pinpoint the issue, an example of such a logging entry is below:
def_wd_txt(self, value: list) ->str:
ifnotisinstance(value, list):
LOGGER.error(f"SA.EVU_DAYS expected to be a list, but got {type(value).__name__}: {value}")
return""ifnotvalue:
return""days= [calendar.day_name[i] foriinvalue]
Note that no error handling is done. If there is an issue, it should at least result in an Error statement in the HA logs.
I then restarted Home Assistant, and the issue was gone. All tapwater controls came back and everything functions as normal. No errors were found in the logs that point to this component or specific issue.
So I'm at a loss. I cannot debug at the moment, as everything is working fine. That being said, my tapwater controls sometimes being unavailable is a big pain.
I am open to suggestions to see if we can pinpoint the issue.
Also I could share my code modifications and try to see if I can make a pull request with the error handling.
The text was updated successfully, but these errors were encountered:
Was just about to report the same issue. It went away after a Home Assistant restart but still. Thank your for reporting it, I probably would not have found the pull request without it.
After updating to the latest 2024.10.5-Beta, I sometimes get errors in my HA logs that point towards datatime.time object not being iterable:
In less than 24 hours, this error appeared over 800 times.
Likely as a result of this, the majority of tapwater sensors are unavailable. Sensors that are unavailable are:
The following entities stay available:
I did not check for other unavailable sensors in this integration.
I restarted home assistant multiple times but that did not solve the issue.
I added some logging statements to the integration to try to pinpoint the issue, an example of such a logging entry is below:
Note that no error handling is done. If there is an issue, it should at least result in an Error statement in the HA logs.
I then restarted Home Assistant, and the issue was gone. All tapwater controls came back and everything functions as normal. No errors were found in the logs that point to this component or specific issue.
So I'm at a loss. I cannot debug at the moment, as everything is working fine. That being said, my tapwater controls sometimes being unavailable is a big pain.
I am open to suggestions to see if we can pinpoint the issue.
Also I could share my code modifications and try to see if I can make a pull request with the error handling.
The text was updated successfully, but these errors were encountered: