Added switch for when K stays overnight elsewhere

This commit is contained in:
2022-05-12 15:47:39 -04:00
parent bf37d84fbb
commit 92e8fe9029
3 changed files with 15 additions and 1 deletions

View File

@ -335,6 +335,9 @@
- condition: state
entity_id: binary_sensor.people_present
state: 'on'
- condition: state
entity_id: input_boolean.kallen_overnight
state: 'off'
action:
- choose:
- conditions:

View File

@ -20,4 +20,7 @@ living_room_entertainment_mode:
name: Living Room Entertainment Mode
front_porch_light_on:
name: Front Porch Light On
icon: hue:room-outdoors
icon: hue:room-outdoors
kallen_overnight:
name: Kallen Overnight
icon: mdi:weather-night

View File

@ -68,6 +68,10 @@ automation:
trigger:
platform: time
at: input_datetime.kallen_morning_briefing
condition:
- condition: state
entity_id: input_boolean.kallen_overnight
state: 'off'
action:
- service: script.kallen_morning_briefing
@ -76,6 +80,10 @@ automation:
trigger:
platform: time
at: input_datetime.kallen_nightly_briefing
condition:
condition: state
entity_id: input_boolean.kallen_overnight
state: 'off'
action:
- service: script.kallen_nightly_briefing