Add notify_events step to cat notification automations

Mirror existing message/title to notify.notify_events for all litter
level, wastebin-full, cat medication, and litter box monitor alerts.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Joshua King
2026-06-30 19:08:08 -04:00
parent 5458b0ec98
commit 3d0b82b77a
3 changed files with 72 additions and 0 deletions
+20
View File
@@ -54,6 +54,10 @@ automation:
data:
title: "Cat meds done"
message: "Penelope and Tess have both been marked medicated today."
- service: notify.notify_events
data:
title: "Cat meds done"
message: "Penelope and Tess have both been marked medicated today."
- id: cat_medication_tracker_cat_medicated_notify
alias: "Cat Medication Tracker - Cat medicated notification"
@@ -81,6 +85,10 @@ automation:
data:
title: "Cat medication given"
message: "{{ cat_name }} has been marked medicated."
- service: notify.notify_events
data:
title: "Cat medication given"
message: "{{ cat_name }} has been marked medicated."
- id: cat_medication_tracker_evening_reminder
alias: "Cat Medication Tracker - 6PM medication reminder"
@@ -116,3 +124,15 @@ automation:
{% set ns.cats = ns.cats + ['Tess'] %}
{% endif %}
{{ ns.cats | join(' and ') }} still need medication.
- service: notify.notify_events
data:
title: "Cat meds still needed"
message: >
{% set ns = namespace(cats=[]) %}
{% if is_state('switch.cat_medication_tracker_penelope_medicated', 'off') %}
{% set ns.cats = ns.cats + ['Penelope'] %}
{% endif %}
{% if is_state('switch.cat_medication_tracker_tess_medicated', 'off') %}
{% set ns.cats = ns.cats + ['Tess'] %}
{% endif %}
{{ ns.cats | join(' and ') }} still need medication.
+12
View File
@@ -204,6 +204,10 @@ automation:
data:
message: "🐱 A cat is using the litter box right now!"
title: "Litter Box Activity"
- action: notify.notify_events
data:
message: "🐱 A cat is using the litter box right now!"
title: "Litter Box Activity"
mode: single
# --- Reset cat notification cooldown ---
@@ -252,6 +256,10 @@ automation:
message: "The litter box camera detects the box in a rotated/closed position. The mechanism may be stuck mid-cycle."
title: "Litter Box Stuck Closed!"
target: "joshua@cnjmail.com"
- action: notify.notify_events
data:
message: "⚠️ The litter box is STUCK ROTATED CLOSED! Visual state is 'closed' — check the mechanism."
title: "Litter Box STUCK CLOSED!"
mode: single
# --- Reset stuck notification when status returns to normal/open ---
@@ -298,6 +306,10 @@ automation:
data:
message: "🧹 The litter box could use a scoop! Cleanliness: {{ states('sensor.litter_box_camera_cleanliness_score') }}%"
title: "Litter Box Needs Scooping"
- action: notify.notify_events
data:
message: "🧹 The litter box could use a scoop! Cleanliness: {{ states('sensor.litter_box_camera_cleanliness_score') }}%"
title: "Litter Box Needs Scooping"
mode: single
# --- Reset scoop notification cooldown ---