Use confirmed triggered logic on water alarms #46

Open
opened 2023-03-10 08:22:40 +00:00 by thomasjsn · 2 comments
thomasjsn commented 2023-03-10 08:22:40 +00:00 (Migrated from git.homelab.no)

On a water alarm, regardless of the alarm state, keep track of open zones.

On a water alarm, regardless of the alarm state, keep track of open zones.
thomasjsn commented 2023-07-22 10:41:31 +00:00 (Migrated from git.homelab.no)

This seems to already happen?

This seems to already happen?
thomasjsn commented 2023-12-16 09:01:49 +00:00 (Migrated from git.homelab.no)

Not quite, it only happens with away zones. This could be expanded to include more zone types:

    if state.system in ["armed_away", "pending", "triggered"] and zone in away_zones:
        zones_open = len(state.zones_open)
        state.zones_open.add(zone)
Not quite, it only happens with away zones. This could be expanded to include more zone types: ```python if state.system in ["armed_away", "pending", "triggered"] and zone in away_zones: zones_open = len(state.zones_open) state.zones_open.add(zone) ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thomas/rpi-alarm#46
No description provided.