HI all,
I try set a automasation to have a notification send to my phone when the temprature is above or below a certain temprature. Could yu please help me?
Here is the YAML code:
platform: device
device_id: f38eb65973de3955a731043aeea7d7ca
entity_id: a0bcbeb5c7b85191a7f90a5944e1e5fd
domain: sensor
above: 28
below: 25
for:
hours: 0
minutes: 0
seconds: 1```
action: notify.mobile_app_smartphone_dirk
metadata: {}
data:
message: Temprature Meterkast needs attention!
title: Temprature Meterkast needs attention!```
repeat:
sequence: []
while:
- type: is_temperature
condition: device
device_id: f38eb65973de3955a731043aeea7d7ca
entity_id: a0bcbeb5c7b85191a7f90a5944e1e5fd
domain: sensor
below: 25
above: 28
Thank you for your help in advance.