How to show forecast tempature in Glance card?

Hello, I’m entirely new to HA, and, as the title says, I want to show the forecast temperature value on a Glace card. I added the “weather.forecast_home” entity to the card but it is showing that it’s partly cloudy as opposed to the temperature that I want it to show and I can’t figure out how to change it. All the forums that I looked through I either dont understand or have unexplained steps.


You need to create a sensor the extracts the temperature from the data. Mine looks like this.

  - platform: template
        friendly_name: "Metno Temperature "
        unit_of_measurement: '°C'
        value_template: "{{ state_attr('weather.home', 'temperature') }}"

So I end up with a sensor called “sensor.current_temperature” that I use in the Glance card.

This link should help



1 Like

after looking through the thread you listed, I found and put this code into configuration.yaml and got a sensor with the temp reading, thanks for the help!

  - platform: template
        unique_id: forecast_current_temperature
        friendly_name: Outside temperature
        unit_of_measurement: °C
        device_class: temperature
        value_template: "{{ state_attr('weather.forecast_home', 'temperature') }}"