Some announcements now check for vacation mode #34
This commit is contained in:
@ -102,9 +102,12 @@ automation:
|
||||
platform: time
|
||||
at: input_datetime.kallen_nightly_briefing
|
||||
condition:
|
||||
condition: state
|
||||
- condition: state
|
||||
entity_id: input_boolean.kallen_overnight
|
||||
state: 'off'
|
||||
- condition: state
|
||||
entity_id: input_boolean.vacation_mode
|
||||
state: 'off'
|
||||
action:
|
||||
- service: script.kallen_nightly_briefing
|
||||
data:
|
||||
@ -116,9 +119,12 @@ automation:
|
||||
platform: time
|
||||
at: input_datetime.daily_report
|
||||
condition:
|
||||
condition: state
|
||||
- condition: state
|
||||
entity_id: binary_sensor.people_present
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: input_boolean.vacation_mode
|
||||
state: 'off'
|
||||
action:
|
||||
- service: script.daily_briefing
|
||||
data:
|
||||
@ -130,9 +136,12 @@ automation:
|
||||
- platform: time
|
||||
at: input_datetime.morning_report
|
||||
condition:
|
||||
condition: state
|
||||
- condition: state
|
||||
entity_id: binary_sensor.people_present
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: input_boolean.vacation_mode
|
||||
state: 'off'
|
||||
action:
|
||||
- service: script.morning_report
|
||||
data:
|
||||
|
Reference in New Issue
Block a user