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