Add Check for Garage Fridge Unavailable
This commit is contained in:
@@ -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."
|
||||||
|
|||||||
Reference in New Issue
Block a user