Replies: 1 comment 1 reply
-
The only thing I’d change is the maximum of two values. Water sensors actually have the potential for more I believe but anything other than idle signifies some sort of problem. I think the others are related to sump pumps IIRC. Other sensor types also have multiple potential trouble values. I think these sensors should have an alarm_state sensor that is binary no matter the status to indicate the alarm has triggered. This is less critical than an ordinary contact binary as most won’t have these. Note that this proposal is the same as many devices do setup now. My door sensors have both a binary_contact sensor and a sensor that says “Door is Opened” or “Door is closed.” These serve different purposes. |
Beta Was this translation helpful? Give feedback.
-
Home assistant is providing two types of sensors. Binary and Multilevel/multistate sensors.
More Z-wave devices move toward notification CC! and stop using the Binary approach.
Some sensors like Motion, Flood or contact do have only two possible states Alert or Idle/off.
I propose to migrate these sensors from sensor to binary type! and use the state as on/off state.
What we gain from is:
To make this rubust:
Any sensor having Idle state in their state list AND a maximum of two possible values, is the target of this setup.
Example of a sensor with only two states
Proposal
An automated way where if states are in total of two! and one state is Idle. Makes this possible. Any other case will fall back to normal sensor
Beta Was this translation helpful? Give feedback.
All reactions