Hi! I'm brand new to Home Assistant, and I've written my first custom automation, but I'm not sure if it'll work or if I'm using the best practices.
When: a template changes from false to true for 10 minutes:
{ ( states("sensor.patiosensor_temperature" )) < (( states("sensor.bedroomsensor_temperature" ) ]
Then do: perform action 'Notifications: Send a notification via mobile_app_jakes_iphone' with message "Cooler outside, open the windows!"
It's worded that the transition from false to true is the trigger, but I just want to make sure that it's not going to send a notification every for instant that the logic tests true.
Is this an elegant approach to implement this automation? Any feedback is appreciated!