Implement notify_events_alerts script and update automation actions to utilize it for event notifications. This enhances consistency and maintainability in alert handling across the configuration files.

This commit is contained in:
Joshua King
2026-07-14 14:03:26 -04:00
parent 6545afbff3
commit 7034889d59
3 changed files with 20 additions and 4 deletions
+1 -2
View File
@@ -56,8 +56,7 @@
- action: switch.turn_off
target:
entity_id: switch.parents_window_fan
- action: notify.notify_events_alerts
- action: script.notify_events_alerts
data:
title: Dehumidifier tank is full
message: Dehumidifier tank is full — Parents Window Fan outlet has been turned off.
token: !secret notify_event_alerts_token