From 643ea8a1b5d6de9a34b57ce11ff3a905792dde03 Mon Sep 17 00:00:00 2001 From: Joshua King Date: Tue, 14 Jul 2026 13:20:41 -0400 Subject: [PATCH] Update notification tokens and refactor automation actions to use notify_events_cats for cat-related alerts. This enhances consistency in notification handling across the automation files. --- automations/02_alerts_and_notifications.yaml | 45 ++++++-------------- configuration.yaml | 2 +- 2 files changed, 13 insertions(+), 34 deletions(-) diff --git a/automations/02_alerts_and_notifications.yaml b/automations/02_alerts_and_notifications.yaml index cf3fa41..3f60cff 100644 --- a/automations/02_alerts_and_notifications.yaml +++ b/automations/02_alerts_and_notifications.yaml @@ -8,7 +8,7 @@ to: 'on' conditions: [] actions: - - action: notify.mobile_app_joshuas_iphone_of_pain + - action: notify.notify_events_alerts metadata: {} data: message: Garage floodlight batteries low @@ -26,7 +26,7 @@ to: '0' conditions: [] actions: - - action: notify.notify_events + - action: notify.notify_events_cats metadata: {} data: message: Triple Threat's Anti-Stinky Juice is Empty @@ -44,7 +44,7 @@ to: '65' conditions: [] actions: - - action: notify.notify_events + - action: notify.notify_events_cats metadata: {} data: message: The Deuce's Litter is Low @@ -61,7 +61,7 @@ enabled: true conditions: [] actions: - - action: notify.notify_events + - action: notify.notify_events_cats metadata: {} data: message: Triple Threat's Litter is Low @@ -79,7 +79,7 @@ to: '65' conditions: [] actions: - - action: notify.notify_events + - action: notify.notify_events_cats metadata: {} data: message: Cat Crapper 3000's Litter is Low @@ -97,7 +97,7 @@ to: '65' conditions: [] actions: - - action: notify.notify_events + - action: notify.notify_events_cats metadata: {} data: message: Poop Box's Litter is Low @@ -115,7 +115,7 @@ to: 'on' conditions: [] actions: - - action: notify.notify_events + - action: notify.notify_events_cats metadata: {} data: message: Cat Crapper 3000 is full of crap @@ -133,7 +133,7 @@ to: 'on' conditions: [] actions: - - action: notify.notify_events + - action: notify.notify_events_cats metadata: {} data: message: The Deuce is full of deuces (laundry room) @@ -151,7 +151,7 @@ to: 'on' conditions: [] actions: - - action: notify.notify_events + - action: notify.notify_events_cats metadata: {} data: message: The Poop Box has runneth over (basement, left side) @@ -169,34 +169,13 @@ to: 'on' conditions: [] actions: - - action: notify.notify_events + - action: notify.notify_events_cats metadata: {} data: message: Triple Threat can't take no more! (Basement, right side) title: Triple Threat can't take no more! mode: single -- id: '1771090372998' - alias: Declans Closet Door Battery Low Notification - description: '' - initial_state: false - triggers: - - trigger: numeric_state - entity_id: - - input_number.last_unavailable_count - below: 30 - conditions: [] - actions: - - action: notify.mobile_app_pollys_iphone - metadata: {} - data: - message: Declan's closet sensor battery is low. - - action: notify.mobile_app_joshuas_iphone_of_pain - metadata: {} - data: - message: Declan's closet sensor battery is low. - mode: single - - id: '1782932601001' alias: Luma Smart Litter Box Waste Bin Full Notification description: Notify when the Petlibro Luma Smart Litter Box waste bin is full. @@ -208,7 +187,7 @@ to: 'on' conditions: [] actions: - - action: notify.notify_events + - action: notify.notify_events_cats metadata: {} data: message: Luma Smart Litter Box is full of crap @@ -226,7 +205,7 @@ to: 'on' conditions: [] actions: - - action: notify.notify_events + - action: notify.notify_events_cats metadata: {} data: message: Luma Smart Litter Box has a door error diff --git a/configuration.yaml b/configuration.yaml index c8cdbbe..e128e23 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -31,7 +31,7 @@ http: ### notify_events ### notify_events_cats: - token: !secret notify_event_token + token: !secret notify_event_cats_token notify_events_alerts: token: !secret notify_event_alerts_token ### SMTP ###