-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HA type error due to null water_leak property in MQTT payload #9236
Comments
@emontnemery seems that the binary sensor doesn't allow the unknown ( |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Sorry, I missed the ping @Koenkk |
@emontnemery I would expect its value to be |
Home Assistant binary sensors only have on+off states. The only other possibility is to set it to unavailable. |
@emontnemery I see, unavailable doesn't cover it imo. Lets leave it like this. |
This will allow binary sensors to have an unknown state: home-assistant/core#60193, |
Awesome! I will close this then since it will be solved in HA |
I've got a Aqara water leak sensor, feeding data to Home Assistant (2021.10.6) with zigbee2mqtt version 1.21.2 (both in docker containers).
When the sensor reports Home Assistant (2021.10.6) complains:
After it's been triggered, the
null
gets replaced by a binary which HA accepts:It's not obvious to me where the property gets processed, or I'd try to provide a patch to initialize it to the correct type.
The text was updated successfully, but these errors were encountered: