mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 04:04:06 +00:00
Notify me if a Door is open when we leave or at night.
This commit is contained in:
@@ -54,12 +54,30 @@
|
|||||||
for: 00:05:00
|
for: 00:05:00
|
||||||
|
|
||||||
condition:
|
condition:
|
||||||
- condition: sun
|
condition: or
|
||||||
after: 'sunset'
|
conditions:
|
||||||
- condition: template
|
- condition: and
|
||||||
value_template: "{{ states('cover.garadget_large') == 'opened' }}"
|
conditions:
|
||||||
- condition: template
|
- condition: state
|
||||||
value_template: "{{ states('cover.garadget_small') == 'opened' }}"
|
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
|
||||||
|
value_template: "{{ states('cover.garadget_small') == 'opened'}}"
|
||||||
|
|
||||||
action:
|
action:
|
||||||
service: script.ifttt_notify
|
service: script.ifttt_notify
|
||||||
|
Reference in New Issue
Block a user