Add fridge and freezer power monitoring automation
This commit is contained in:
@@ -205,3 +205,48 @@
|
||||
y: 45
|
||||
graph_id: 816af3b7-3eac-47c3-8da3-8797d1774c0c
|
||||
graph_version: 1
|
||||
- id: '1780813227139'
|
||||
alias: 'Alert: Fridge or Freezer Power Outage'
|
||||
description: Triggers an alert if the fridge or freezer smart plug power consumption
|
||||
drops to 0W for too long.
|
||||
triggers:
|
||||
- entity_id:
|
||||
- sensor.freezer_power
|
||||
below: 1
|
||||
id: freezer_down
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 20
|
||||
seconds: 0
|
||||
trigger: numeric_state
|
||||
- entity_id:
|
||||
- sensor.fridge_power
|
||||
below: 1
|
||||
id: fridge_down
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 20
|
||||
seconds: 0
|
||||
trigger: numeric_state
|
||||
conditions: []
|
||||
actions:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: freezer_down
|
||||
sequence:
|
||||
- action: notify.notify
|
||||
data:
|
||||
title: "\U0001F6A8 URGENT: Freezer Power Failure"
|
||||
message: The Freezer smart plug has drawn 0W of power for over 20 minutes!
|
||||
Check the physical appliance immediately.
|
||||
- conditions:
|
||||
- condition: trigger
|
||||
id: fridge_down
|
||||
sequence:
|
||||
- action: notify.notify
|
||||
data:
|
||||
title: "\U0001F6A8 URGENT: Fridge Power Failure"
|
||||
message: The Fridge smart plug has drawn 0W of power for over 20 minutes!
|
||||
Check the physical appliance immediately.
|
||||
mode: single
|
||||
|
||||
Reference in New Issue
Block a user