Simplify text notifications down to a single script

And it didn't even lose any functionality!
This commit is contained in:
2023-02-22 17:23:35 -05:00
parent 12e999307d
commit 5b62a1d052
7 changed files with 183 additions and 245 deletions

View File

@ -307,8 +307,9 @@ automation:
entity_id: input_boolean.kallen_at_school
- service: input_boolean.turn_on
entity_id: input_boolean.kallen_awake
- service: script.text_alert
- service: script.text_notify
data:
type: alert
who: parents
message: "Kallen has been dropped off at school."
- service: light.turn_off
@ -345,8 +346,9 @@ automation:
action:
- service: input_boolean.turn_off
entity_id: input_boolean.kallen_at_school
- service: script.text_alert
- service: script.text_notify
data:
type: alert
who: parents
message: "Kallen has been picked up from school."
initial_state: true