I have an outside door with a contact sensor. Lately the door hasn’t been shutting all the way (stuck slightly open, hello drafts and bugs), but it’s closed enough that the sensor sees it as closed.
I've just placed a second contact sensor where it will not see the door as closed when it’s stuck. (This is great because it can unambiguously detect stuckness by comparing the two sensors, don’t have to think about “open too long” or anything.)
I’m aware that groups and template sensors can give me each individual piece I’m looking for, but I’m not sure the best way to get this looking like a single device (for dashboards, template sensors, etc)
Spec:
- Single door device with multiple entities
- Door shows open when EITHER sensor is open, closed when BOTH sensors are closed
- Door has entity for stuckness (not/stuck)
Logically, the door can never be BOTH closed and stuck—stuck can only occur if the door is open
For the stuckness entity, I’m thinking just a template/binary/problem sensor, to show OK when “Fully Closed”?
Appreciate any thoughts/insight, thanks in advance 🙏