Files
Home-Assistant/automations/02_alerts_and_notifications.yaml
T

486 lines
12 KiB
YAML
Raw Normal View History

2026-06-28 14:27:20 -04:00
# Safety, device, and household alert automations.
- id: '1739061820991'
alias: Turn off washing machine when leak sensed
description: ''
triggers:
- type: moist
device_id: 84e0d8044eb13e64c899357f840dcacb
entity_id: 2f41825acbe754ebfa788a77c197138c
domain: binary_sensor
trigger: device
conditions: []
actions:
- type: turn_off
device_id: 613a1b8ef47539c9d0ebe6a87b13ca26
entity_id: 721e7dd29be7dbcb6e634ec5d505c5f4
domain: switch
- action: notify.notify
metadata: {}
data:
message: Washing Machine Leak Sensor has been triggered - please check!
mode: single
- id: '1739841729184'
alias: Declans Closet Open Notification
description: ''
initial_state: false
triggers:
- trigger: state
entity_id:
- input_boolean.hermes_disabled_automation_placeholder
to: 'on'
conditions:
- condition: time
after: '21:00:00'
before: 07:30:00
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Declans Closet is Open
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Declans Closet is Open
mode: single
- id: '1739841929885'
alias: Jordyns Door Open Notification
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.jordyns_door_door
to: 'on'
conditions:
- condition: time
after: '19:45:00'
before: 07:45:00
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Jordyns door is open
mode: single
- id: '1739842035606'
alias: Declans Door Closed Notification
description: ''
initial_state: false
triggers:
- trigger: state
entity_id:
- input_boolean.hermes_disabled_automation_placeholder
to: 'off'
conditions:
- condition: time
after: '21:00:00'
before: 07:00:00
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Declans Closet is Closed
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Declans Closet is Closed
mode: single
- id: '1739932866970'
alias: Washing Machine Leak Sensor Battery Low Notification
description: ''
triggers:
- trigger: numeric_state
entity_id:
- sensor.washing_machine_water_sensor_battery
below: 25
conditions: []
actions:
- action: notify.persistent_notification
metadata: {}
data:
message: Please change washing machine leak sensor battery soon!
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Please change washing machine leak sensor battery soon!
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Please change washing machine leak sensor battery soon!
mode: single
- id: '1739932945304'
alias: Jordyn's Door Sensor Low Battery Notification
description: ''
triggers:
- trigger: numeric_state
entity_id:
- sensor.jordyns_door_battery
below: 25
conditions: []
actions:
- action: notify.persistent_notification
metadata: {}
data:
message: Please change washing machine leak sensor battery soon!
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Please change washing machine leak sensor battery soon!
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Please change washing machine leak sensor battery soon!
mode: single
- id: '1739933032829'
alias: Deep Freezer Low Battery Notification
description: ''
triggers:
- trigger: numeric_state
entity_id:
- sensor.deep_freezer_battery
below: 25
conditions: []
actions:
- action: notify.persistent_notification
metadata: {}
data:
message: Please change washing machine leak sensor battery soon!
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Please change washing machine leak sensor battery soon!
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Please change washing machine leak sensor battery soon!
mode: single
- id: '1739933290261'
alias: Deep Freezer Left Open Notification
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.deep_freezer_door
to: 'on'
for:
hours: 0
minutes: 2
seconds: 0
conditions: []
actions:
- action: notify.html5
metadata: {}
data:
message: Deep freezer has been left open - please check.
- action: notify.persistent_notification
metadata: {}
data:
message: Deep freezer has been left open - please check.
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Deep freezer has been left open - please check.
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Deep freezer has been left open - please check.
mode: single
- id: '1742155540986'
alias: 'Garage Floodlight Low Battery Notification '
description: ''
triggers:
- trigger: state
entity_id: binary_sensor.garage_floodlight_battery
to: 'on'
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Garage floodlight batteries low
title: Garage floodlight batteries low
mode: single
- id: '1742841280696'
alias: Triple Threat Anti-Stink Juice Empty
description: ''
triggers:
- trigger: state
entity_id:
- sensor.triple_threat_spray_deodorant_liquid
enabled: true
to: '0'
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Triple Threat's Anti-Stinky Juice is Empty
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Triple Threat's Anti-Stinky Juice is Empty
- action: notify.mailgun_smtp
metadata: {}
data:
message: Triple Threat's Anti-Stinky Juice is Empty
title: Triple Threat's Anti-Stinky Juice is Empty
target: joshua@cnjmail.com polly@cnjmail.com
mode: single
- id: '1742841650033'
alias: The Deuce Litter Level
description: ''
triggers:
- trigger: state
entity_id:
- sensor.the_deuce_litter_level
enabled: true
to: '65'
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: The Deuce's Litter is Low
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: The Deuce's Litter is Low
- action: notify.mailgun_smtp
metadata: {}
data:
message: The Deuce's Litter is Low
title: The Deuce's Litter is Low
target: joshua@cnjmail.com
enabled: false
mode: single
- id: '1742841709247'
alias: Triple Threat Litter Level Notification
description: ''
triggers:
- trigger: state
entity_id:
- sensor.triple_threat_litter_level
enabled: true
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Triple Threat's Litter is Low
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Triple Threat's Litter is Low
- action: notify.mailgun_smtp
metadata: {}
data:
message: Triple Threat's Litter is Low
title: Triple Threat's Litter is Low
target: joshua@cnjmail.com
enabled: false
mode: single
- id: '1742841764585'
alias: Cat Crapper 3000 Low Litter Level Notification
description: ''
triggers:
- trigger: state
entity_id:
- sensor.cat_crapper_3000_litter_level
enabled: true
to: '65'
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Cat Crapper 3000's Litter is Low
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Cat Crapper 3000's Litter is Low
mode: single
- id: '1742841838536'
alias: Poop Box Low Litter Level Notification
description: ''
triggers:
- trigger: state
entity_id:
- sensor.poop_box_litter_level
enabled: true
to: '65'
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Poop Box's Litter is Low
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Poop Box's Litter is Low
- action: notify.mailgun_smtp
metadata: {}
data:
message: Poop Box's Litter is Low
title: Poop Box's Litter is Low
target: joshua@cnjmail.com
enabled: falsef
mode: single
- id: '1742842192548'
alias: Cat Crapper 3000 is full of crap notification
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.cat_crapper_3000_wastebin_filled
enabled: true
to: 'on'
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Cat Crapper 3000 is full of crap
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Cat Crapper 3000 is full of crap
- action: notify.mailgun_smtp
metadata: {}
data:
message: Cat Crapper 3000 is full of crap
title: CLEAN Cat Crapper 3000 - it's full of crap
target: joshua@cnjmail.com
enabled: false
mode: single
- id: '1742842261527'
alias: The Deuce is full of deuces notification
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.the_deuce_wastebin_filled
enabled: true
to: 'on'
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: The Deuce is full of deuces (laundry room)
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: The Deuce is full of deuces (laundry room)
- action: notify.mailgun_smtp
metadata: {}
data:
message: The Deuce is full of deuces
title: Too many dueces have been dropped!
target: joshua@cnjmail.com
enabled: false
- action: notify.mobile_app_chloes_iphone
metadata: {}
data:
message: The Deuce is full of deuces (laundry room)
mode: single
- id: '1742842372471'
alias: The Poop Box has runneth over Notification
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.poop_box_wastebin_filled
enabled: true
to: 'on'
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: The Poop Box has runneth over (basement, left side)
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: The Poop Box has runneth over (basement, left side)
- action: notify.mobile_app_chloes_iphone
metadata: {}
data:
message: The Poop Box has runneth over (basement, left side)
- action: notify.mailgun_smtp
metadata: {}
data:
message: The poop box has too many presents!
title: The poop box is bursting!!
target: joshua@cnjmail.com
enabled: false
mode: single
- id: '1742842458817'
alias: Triple Threat Full Notification
description: ''
triggers:
- trigger: state
entity_id:
- binary_sensor.triple_threat_wastebin_filled
enabled: true
to: 'on'
conditions: []
actions:
- action: notify.mobile_app_joshuas_iphone_of_pain
metadata: {}
data:
message: Triple Threat can't take no more! (Basement, right side)
- action: notify.mobile_app_pollys_iphone
metadata: {}
data:
message: Triple Threat can't take no more! (Basement, right side)
- action: notify.mobile_app_chloes_iphone
metadata: {}
data:
message: Triple Threat can't take no more! (Basement, right side)
- action: notify.mailgun_smtp
metadata: {}
data:
message: The Triple Threat is down for the count!
title: Triple Threat can't take no more!
target: joshua@cnjmail.com
enabled: false
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