cleanup
This commit is contained in:
parent
bb0cf6db6b
commit
6a55c0f49f
|
@ -136,6 +136,7 @@ automation:
|
||||||
- tv
|
- tv
|
||||||
- email
|
- email
|
||||||
- telegram
|
- telegram
|
||||||
|
|
||||||
- delay: "00:00:05"
|
- delay: "00:00:05"
|
||||||
- service: camera.snapshot
|
- service: camera.snapshot
|
||||||
data_template:
|
data_template:
|
||||||
|
@ -143,6 +144,7 @@ automation:
|
||||||
filename: "{{ '/config/www/downloads/camera/garage/garage_' ~
|
filename: "{{ '/config/www/downloads/camera/garage/garage_' ~
|
||||||
((state_attr('automation.notify_garage_door_status', 'last_triggered') |string).replace('-','_')
|
((state_attr('automation.notify_garage_door_status', 'last_triggered') |string).replace('-','_')
|
||||||
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg') }}"
|
.replace(' ', '_').replace(':','_').replace('.','_').replace('+','_') ~ '.jpg') }}"
|
||||||
|
|
||||||
# - service: script.notify_family
|
# - service: script.notify_family
|
||||||
# data_template:
|
# data_template:
|
||||||
# message: >
|
# message: >
|
||||||
|
|
|
@ -82,7 +82,7 @@ automation:
|
||||||
- tv
|
- tv
|
||||||
- led
|
- led
|
||||||
|
|
||||||
- alias: Alert When Someone Enters a Zone on LED Screen
|
- alias: Alert When Someone Enters Home
|
||||||
initial_state: true
|
initial_state: true
|
||||||
trigger:
|
trigger:
|
||||||
- platform: zone
|
- platform: zone
|
||||||
|
|
|
@ -146,7 +146,7 @@ script:
|
||||||
notify_telegram:
|
notify_telegram:
|
||||||
sequence:
|
sequence:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.telegram_alerts
|
entity_id: input_boolean.telegram_notifications
|
||||||
state: "on"
|
state: "on"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ 'telegram' in notify_options }}"
|
value_template: "{{ 'telegram' in notify_options }}"
|
||||||
|
@ -162,7 +162,7 @@ script:
|
||||||
notify_email:
|
notify_email:
|
||||||
sequence:
|
sequence:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.email_alerts
|
entity_id: input_boolean.email_notifications
|
||||||
state: "on"
|
state: "on"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ 'email' in notify_options }}"
|
value_template: "{{ 'email' in notify_options }}"
|
||||||
|
@ -174,7 +174,7 @@ script:
|
||||||
notify_voice:
|
notify_voice:
|
||||||
sequence:
|
sequence:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.voice_alerts
|
entity_id: input_boolean.voice_notifications
|
||||||
state: "on"
|
state: "on"
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ 'voice' in notify_options }}"
|
value_template: "{{ 'voice' in notify_options }}"
|
||||||
|
|
Loading…
Reference in New Issue