Consolidate notification tokens and update automation actions to consistently use notify_events. This improves clarity and maintainability across the configuration and automation files.
This commit is contained in:
@@ -200,7 +200,7 @@ automation:
|
||||
- action: timer.start
|
||||
target:
|
||||
entity_id: timer.litter_box_cat_cooldown
|
||||
- action: notify.notify_events
|
||||
- action: notify.notify_events_cats
|
||||
data:
|
||||
message: "🐱 A cat is using the litter box right now!"
|
||||
title: "Litter Box Activity"
|
||||
@@ -239,7 +239,7 @@ automation:
|
||||
- action: input_boolean.turn_on
|
||||
target:
|
||||
entity_id: input_boolean.litter_box_stuck_notified
|
||||
- action: notify.notify_events
|
||||
- action: notify.notify_events_cats
|
||||
data:
|
||||
message: "⚠️ The litter box is STUCK ROTATED CLOSED! Visual state is 'closed' — check the mechanism."
|
||||
title: "Litter Box STUCK CLOSED!"
|
||||
@@ -285,7 +285,7 @@ automation:
|
||||
- action: timer.start
|
||||
target:
|
||||
entity_id: timer.litter_box_scoop_cooldown
|
||||
- action: notify.notify_events
|
||||
- action: notify.notify_events_cats
|
||||
data:
|
||||
message: "🧹 The litter box could use a scoop! Cleanliness: {{ states('sensor.litter_box_camera_cleanliness_score') }}%"
|
||||
title: "Litter Box Needs Scooping"
|
||||
|
||||
Reference in New Issue
Block a user