Skip to content

Commit 2735de9

Browse files
committed
fix: blueprint - check if alarm is already closed to prevent retriggering #209
1 parent 701e3ef commit 2735de9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

divera-blueprint.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ trigger:
4747
attribute: id
4848
not_to:
4949
- unknown
50-
5150
condition:
5251
condition: and
5352
conditions:
@@ -66,6 +65,10 @@ condition:
6665
entity_id: !input divera_sensor
6766
attribute: self_addressed
6867
state: true
68+
- condition: state
69+
entity_id: !input divera_sensor
70+
attribute: closed
71+
state: false
6972
action:
7073
- choose:
7174
default: !input target_action

0 commit comments

Comments
 (0)