The automation will only fire if the temperature crosses one of those thresholds. It will not fire if you restart (or reload automations) and the sensor is already between those values.
The automation is in automations.yaml and sharing the code helps us help you.
However, that will trigger when the value goes from 1 or lower, or 80 or higher, to between 1 and 80. If it is already between 1 and 80 it will not trigger.
If you want it to run when HA starts/you reload automations then you’ll need to add triggers for the reload and startup, as well as check the number in a condition.