From 630253e1d88c0b154a9a4ab97c795d44a3f79f05 Mon Sep 17 00:00:00 2001 From: Carlo Costanzo Date: Fri, 21 Nov 2025 17:48:32 -0500 Subject: [PATCH] Add automation to notify users when the Kitchen Accent power is cut and switches go offline. Includes triggers for switch state changes and conditions to check the state of a specific group. Enhances user awareness for kitchen appliances. Closes Closes Notify Stacey when she turns off the Kitchen Accent switch. Fixes #771 --- config/automation/System/watchdog_light.yaml | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/config/automation/System/watchdog_light.yaml b/config/automation/System/watchdog_light.yaml index 5ea7d545..0453b182 100755 --- a/config/automation/System/watchdog_light.yaml +++ b/config/automation/System/watchdog_light.yaml @@ -52,3 +52,32 @@ - light.hallway - light.hallway_lights - light.foyer + +############################################################################## +### Alert when the Kitchen Accent power is cut and the switches go offline +############################################################################## + +- alias: Kitchen Accent Power Reminder + id: b7c767d3-359f-4db4-9156-bba9e7d90602 + mode: single + trigger: + - platform: state + entity_id: + - switch.kitchen_accent_1 + - switch.kitchen_accent_2 + to: 'unavailable' + for: '00:00:30' + + condition: + - condition: state + entity_id: group.bed + state: 'off' + - condition: template + 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