Hi, following problem. i try to get this code running. why doesnt the icon update even after hours?
{% if states('weather.forecast_home') ,'clear-night' %}
mdi:weather-night
{% elif states('weather.forecast_home') ,'cloudy' %}
mdi:weather-cloudy
{% elif states('weather.forecast_home') ,'fog' %}
mdi:weather-fog
{% elif states('weather.forecast_home') ,'hail' %}
mdi:weather-hail
{% elif states('weather.forecast_home') ,'lightning' %}
mdi:weather-lightning
{% elif states('weather.forecast_home') ,'lightning-rainy' %}
mdi:weather-lightning-rainy
{% elif states('weather.forecast_home') ,'partlycloudy' %}
mdi:weather-partly-cloudy
{% elif states('weather.forecast_home') ,'pouring' %}
mdi:weather-pouring
{% elif states('weather.forecast_home') ,'rainy' %}
mdi:weather-rainy
{% elif states('weather.forecast_home') ,'snowy' %}
mdi:weather-snowy
{% elif states('weather.forecast_home') ,'snowy-rainy' %}
mdi:weather-snowy-heavy
{% elif states('weather.forecast_home') , 'sunny' %}
mdi:weather-sunny
{% elif states('weather.forecast_home') , 'windy' %}
mdi:weather-windy
{% elif states('weather.forecast_home') , 'windy-variant' %}
mdi:weather-windy-variant
{%endif%}
kindly asking for help. i have the similar code for different entity working fine