Added switch for when K stays overnight elsewhere
This commit is contained in:
@ -335,6 +335,9 @@
|
|||||||
- 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.kallen_overnight
|
||||||
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
|
@ -21,3 +21,6 @@ living_room_entertainment_mode:
|
|||||||
front_porch_light_on:
|
front_porch_light_on:
|
||||||
name: 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:
|
trigger:
|
||||||
platform: time
|
platform: time
|
||||||
at: input_datetime.kallen_morning_briefing
|
at: input_datetime.kallen_morning_briefing
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.kallen_overnight
|
||||||
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: script.kallen_morning_briefing
|
- service: script.kallen_morning_briefing
|
||||||
|
|
||||||
@ -76,6 +80,10 @@ automation:
|
|||||||
trigger:
|
trigger:
|
||||||
platform: time
|
platform: time
|
||||||
at: input_datetime.kallen_nightly_briefing
|
at: input_datetime.kallen_nightly_briefing
|
||||||
|
condition:
|
||||||
|
condition: state
|
||||||
|
entity_id: input_boolean.kallen_overnight
|
||||||
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: script.kallen_nightly_briefing
|
- service: script.kallen_nightly_briefing
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user