I’m new to HA and got my Aqara temp and humidity sensor connected using a Zigbee Zonoff dongle and the Zigbee Home Automation integration. I can see the temperature changing on the graph, but when I tried to create a trigger based on the the temp changing, nothing happens. This is the yaml:
alias: Test temp change notif
description: “”
triggers:
For a Numeric State trigger (or a Device trigger based on numeric state in this case) to fire, the threshold values must be crossed… just being in the range will not fire the trigger. So for your example, the temperature value has to change from either below 1 to above 1 or from above 146 to below 146. All the value changes between 1-146 have zero effect as far as the trigger is concerned.
Thanks for the reply! So is there a way to perform an action every time the temperature changes regardless of what the value is? Another option I can think of is just to have it run every 10 minutes, but temperature change seems cleaner.
Did you read the whole bit that was linked to? The last paragraphs go into that: You can, but you should not need to and the downsides are worse than the upsides.