Add Check for Garage Fridge Unavailable

This commit is contained in:
2023-01-08 20:36:47 -08:00
parent 9c0ce83e02
commit 4c1c7dec90

View File

@@ -30,3 +30,16 @@ automation:
- service: notify.everyone - service: notify.everyone
data: data:
message: "{{ trigger.to_state.name }} is too high, check the power and doors." message: "{{ trigger.to_state.name }} is too high, check the power and doors."
- alias: Notify if Garage Fridge Sensor is Unavailable
mode: queued
trigger:
- platform: time_pattern
minutes: 0
condition:
- "{{ is_state('sensor.garage_fridge_freezer_temperature', ['unavailable', 'unknown', 'none']) }}"
- "{{ is_state('sensor.garage_fridge_refrigerator_temperature', ['unavailable', 'unknown', 'none']) }}"
action:
- service: notify.everyone
data:
message: "{{ trigger.to_state.name }} is unavilable, check the power."