From 6e41bb6b8b8cc45de592050c0f34bffa28e14e1e Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Mon, 17 Oct 2022 23:41:51 -0400 Subject: [PATCH] Automation for E's white noise --- packages/climate.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/packages/climate.yaml b/packages/climate.yaml index b06718b..519be6d 100644 --- a/packages/climate.yaml +++ b/packages/climate.yaml @@ -196,4 +196,17 @@ automation: who: "parents" title: "Nursery Climate Schedule" 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