Automation for E's white noise
This commit is contained in:
@ -196,4 +196,17 @@ automation:
|
|||||||
who: "parents"
|
who: "parents"
|
||||||
title: "Nursery Climate Schedule"
|
title: "Nursery Climate Schedule"
|
||||||
message: "The air conditioner in the nursery has been activated."
|
message: "The air conditioner in the nursery has been activated."
|
||||||
|
- if:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_select.scheduled_climate_mode_nursery_aircon
|
||||||
|
state: 'White Noise'
|
||||||
|
then:
|
||||||
|
- service: input_boolean.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.white_noise_emma_bedroom
|
||||||
|
- service: script.text_notify
|
||||||
|
data:
|
||||||
|
who: "parents"
|
||||||
|
title: "Nursery Climate Schedule"
|
||||||
|
message: "White noise has been activated in the nursery."
|
||||||
mode: restart
|
mode: restart
|
||||||
|
Reference in New Issue
Block a user