type: markdown content: > {% for w in state_attr('weather.home_hourly','forecast') -%} {% set h=w.datetime | as_datetime | as_local %} {% if ((h.hour/2) | int) == (h.hour/2) %} {% if h.day==now().day %} {% set d='I dag' %} {% else %} {% set d='I morgen' %} {% endif %} {% endif %} {% endfor -%}
TidspunktTemperaturNedbørVind
{{ d }} {{ w.datetime | as_timestamp | timestamp_custom('%H.00', local=True) -}} {{ w.temperature }} °C {{ w.precipitation | int }} mm {{ w.wind_speed | int }} m/s