Turn automations on/off based on temperature


so i got 2 different automations when i leave my home. one i usually use when its not too hot outside and one i use during the summertime.
right now i turn them manually on/off.

i was thinking about making an automation that checkes the outside temperature. if its above 28°C i‘d like to switch the one automation on and the other off, if it‘s below 28°C the other was around.

using a numeric state as in the screenshot doesn‘t work.

someone got any ideas?

It does work. It only works when the temperature crosses that threshold. If you’re already above the threshold, it won’t trigger if the temperature changes and you’re still beyond the threshold.

yep, makes sense.
only tested it by setting state in the developer-tools. didn‘t work there