I have tested {{ states("sensor.mysa_c5fbd8_current_temperature")|float > 50.5 }} Result type: boolean and result is true; {{ states("sensor.mysa_c5fbd8_current_temperature")|float }} Result type: number and result is 65.5. However, this automation still won’t be triggered. Any helps would be appreciated!
It will only trigger when the state of the template changes from false to true. So if the temperature is already above 50.5 you have to wait for it to go below then back above.