Notify me if a Door is open when we leave or at night.

pull/76/head
CCOSTAN 9 years ago
parent d9e7355e4b
commit 79a4f3eea8

@ -54,8 +54,26 @@
for: 00:05:00
condition:
condition: or
conditions:
- condition: and
conditions:
- condition: state
entity_id: group.family
state: not_home
for: 00:05:00
- condition: or
conditions:
- condition: template
value_template: "{{ states('cover.garadget_large') == 'opened' }}"
- condition: template
value_template: "{{ states('cover.garadget_small') == 'opened' }}"
- condition: and
conditions:
- condition: sun
after: 'sunset'
- condition: or
conditions:
- condition: template
value_template: "{{ states('cover.garadget_large') == 'opened' }}"
- condition: template

Loading…
Cancel
Save

Powered by TurnKey Linux.