Simple question: Change value based on temperature outside

I’m trying to create an automation that switches my HVAC system between heating and cooling depending on the outdoor temperature. I put the temperatures under “above” and “below” inside of a trigger, but it says “When Outdoor Temperature is above 11 and below 11 for 30 seconds”. Obviously, this is impossible. How do I make the AND statement into an OR statement? Alternatively, I could just run the automation every time the outdoor temperature changes at all and evaluate it from there. Not sure how to do that either. I looked into doing a template as well, but that would eliminate the ability to add in a 30 second delay I think.

What is the best way to handle this?

Use 2 triggers.

trigger:
  - platform: numeric_state
    entity_id: sensor.outdoor_temp
    above: 11
    for: "00:00:30"
  - platform: numeric_state
    entity_id: sensor.outdoor_temp
    below: 11
    for: "00:00:30"
...