Show cards based on outside temperature

Hi everyone,

I am trying to show climate cards based on outside temperature. I.e., if outside temperature is below 18°C show the radiators climate card (they have a TRV) if it’s above show the AC climate card.
So far I have been doing this with seasons but, thanks to global warming, seasons are changing and I’m still using AC in Italy.
To show cards based on an entity I use conditional cards.
How can I achieve that?

  - platform: template
        friendly_name: "Seasons boolean"
        value_template: >-
          {% if is_state('sensor.seasons', 'autumn') or is_state('sensor.seasons', 'winter') %}
          {% else %}
          {% endif %}

Just switch the is_state checks in your value template to look at the state of your temperature source.

Replace sensor.back_porch_temperature with your temp sensor and adjust breakpoints for your preferences…

{% if states('sensor.back_porch_temperature')|int > 70  %}warm
{%- elif states('sensor.back_porch_temperature')|int > 50 %}mild
{%- else %}chilly
{%- endif %}

Then you can use the state of this sensor to hide/show your cards.