Automation to move location of K morning briefing if K is awake

This commit is contained in:
2022-08-24 07:54:46 -04:00
parent 8208fa42c9
commit 0f40b9d0b4
2 changed files with 32 additions and 0 deletions

View File

@ -15,6 +15,11 @@ input_datetime:
has_time: true
icon: mdi:binoculars
input_boolean:
kallen_awake:
name: Kallen Awake
icon: mdi:eye-check
proximity:
home_tony:
devices:
@ -219,6 +224,15 @@ automation:
message: "Kallen has been picked up from school."
initial_state: true
- id: 94b57d79-efe0-4f34-b5e3-baeaa5eea9f4
alias: Kallen Asleep
trigger:
- platform: time
at: input_datetime.kallen_bedtime
action:
- service: input_boolean.turn_off
entity_id: input_boolean.kallen_awake
script:
family_is_away:
alias: Family Is Away