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:
@@ -8,12 +8,11 @@
|
||||
to: 'on'
|
||||
conditions: []
|
||||
actions:
|
||||
- action: notify.notify_events_alerts
|
||||
- action: script.notify_events_alerts
|
||||
metadata: {}
|
||||
data:
|
||||
message: Garage floodlight batteries low
|
||||
title: Garage floodlight batteries low
|
||||
token: !secret notify_event_alerts_token
|
||||
mode: single
|
||||
|
||||
- id: '1742841280696'
|
||||
|
||||
Reference in New Issue
Block a user