From 0a42f42a0b2379f84825a1b3268f1e0d8b2e9f62 Mon Sep 17 00:00:00 2001 From: Carlo Costanzo Date: Fri, 21 Nov 2025 18:11:02 -0500 Subject: [PATCH] Refactor Kitchen Accent power notification to ensure parents are informed when the plug is switched off. The notification action has been moved to enhance clarity and maintainability of the automation script. #771 --- config/automation/System/watchdog_light.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/config/automation/System/watchdog_light.yaml b/config/automation/System/watchdog_light.yaml index 2fe63a03..d96da75e 100755 --- a/config/automation/System/watchdog_light.yaml +++ b/config/automation/System/watchdog_light.yaml @@ -76,13 +76,15 @@ value_template: "{{ trigger.from_state is not none and trigger.from_state.state != 'unavailable' }}" action: - - service: notify.alexa_media_kitchen - data: - message: "The Kitchen Accent plug was switched off. Please turn it back on." - data: - type: announce - service: script.notify_engine data: title: "Kitchen Accent Power" value1: "The Kitchen Accent plug was switched off. Please turn it back on." who: 'parents' + + - service: notify.alexa_media_kitchen + data: + message: "The Kitchen Accent plug was switched off. Please turn it back on." + data: + type: announce +