Can someone tell me how I can realize something like this in HA (screenshot: on the left are the data and the one on the right I would like to display in the dashboard)?
Data comes from weather.forecast_home
Can someone tell me how I can realize something like this in HA (screenshot: on the left are the data and the one on the right I would like to display in the dashboard)?
Data comes from weather.forecast_home
{{ state_attr('weather.forecast_home', 'forecast')[0].wind_speed}}
0 1 2 3
And Card of your choice … which supports template
Another way would be using a Markdown Card and a loop:
{%- set weather = 'weather.forecast_home' %}
{%- if states(weather) not in ['unavailable', 'unknown', 'none'] %}
{%- for w in state_attr(weather, 'forecast') %}
{%- set day = w.datetime |as_datetime |as_local %}
{{ day.strftime('%a') }}: {{ w.wind_speed }}
{%- endfor %}
{%- else -%}?
{%- endif -%}
You can format the Markdown content as HTML table.
Yeah , somehow it’s a good idea to get the day right also