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