Support the use of tags and notification clearing with text_notify

This commit is contained in:
2023-02-26 20:10:36 -05:00
parent 11b859ef22
commit cec5f2840d
7 changed files with 112 additions and 22 deletions

View File

@ -145,6 +145,8 @@ script:
who: "parents"
title: "Emma Climate Schedule"
message: "The air conditioner in Emma's Bedroom has been activated."
type: normal
tag: emma-climate
- conditions:
- condition: state
entity_id: input_select.scheduled_climate_mode_emma_aircon
@ -162,6 +164,8 @@ script:
who: "parents"
title: "Emma Climate Schedule"
message: "White noise has been activated in Emma's Bedroom."
type: normal
tag: emma-climate
default:
- if:
- condition: template
@ -172,6 +176,8 @@ script:
who: "parents"
title: "Emma Climate Schedule"
message: "No option selected for Emma's climate mode. No devices will be activated."
type: normal
tag: emma-climate
- conditions:
- condition: state
entity_id: binary_sensor.early_night_mode