Added switch for when K stays overnight elsewhere
This commit is contained in:
@ -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:
|
||||
|
@ -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
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user