Could we add to the status badge « Summary of openings »:
the ability to choose what you want to see appear: the open or closed elements.
Indeed, when you leave the house, you want to know that everything is well closed, but if I’m too hot in the summer, I might want to check that everything is open ^^
an option to display the list of elements in question by clicking on the badge!
I confirm it would be great to be able to see at a glance which element is still open.
In the meantime, I’ve created a page that lists all my openings to quickly check which one is open
(Zigbee2MQTT, Matter, and MQTT/Home Assistant, on the other hand, are compliant.)
Result: an opening from these integrations and closed is worth 0, so it is counted as always open. The most discreet case is Netatmo, which creates an “open window detection” feature by thermostat/thermostat head, invisible on dashboards and reset to 0 continuously → a “ghost” open. This matches your two cases (4 + 1 = 5, and 0 + 1 = 1).
Note, it’s not always “+1”: conversely, a Z-Wave/Xiaomi sensor actually open is worth 1 and is not counted. A simple -1 would therefore not fix anything.
To confirm on your end: look on your devices’ page for an opening displayed as “Open” when it is physically closed.
I think the fix is to align these three integrations with the constant… it remains to decide the fate of the values already in the database: without migration, the display remains false until the next state change, with migration, the conditions of scenes of the type “sensor = 1” change meaning.