#Template automation with temperature comparison not working

1 messages · Page 1 of 1 (latest)

harsh sphinx
#

Hi all,

I have an automation based on a template where I check if a certain temperature is higher than another temperature.
If so, I would like to receive a notification on my mobile device.

When I test the automation I receive the notification correctly. However, the automation is never triggered when the condition is met.

Can you please help me out?

gilded pebble
#

you have a state_attr but no attribute?

#

state_attr should be (entity, attribute)

#

if you just want the state use states() instead of state_attr()