Hey there, from my understanding to be able to use weather underground as source for the weather cards in lovelace one has to convert it to a weather sensor using templating, right?
The basics are described here:
But what about the details? I couldn’t find a proper example
I could find some sort of similar approach here: Create daily forecast from hourly forecast using the template weather platform
My problem is the forecast-array or list, the other are easy and work straight forward.
But I fail on providing the forecast list from combining the single forecast entities of wupws to a list which is consumed by the forecast_template…I tired a bit, but have no clue how to achieve this
forecast_template: >-
- datetime: '2022-03-23T00:00:00Z'
condition: sunny
temperature: 18
templow: 0
precipitation: 0
wind_bearing: 57.3
wind_speed: 2.06
wind_gusts: 4.12
precipitation_probability: 2
- datetime: '2022-03-24T00:00:00Z'
condition: sunny
temperature: 17
templow: 1
precipitation: 0
wind_bearing: 150.62
wind_speed: 2.57
wind_gusts: 4.63
precipitation_probability: 2
- datetime: '2022-03-25T00:00:00Z'
condition: sunny
temperature: 16
templow: 2
precipitation: 0
wind_bearing: 22.38
wind_speed: 3.09
wind_gusts: 5.66
precipitation_probability: 1
- datetime: '2022-03-26T00:00:00Z'
condition: sunny
temperature: 15
templow: 3
precipitation: 0
wind_bearing: 80.62
wind_speed: 3.09
wind_gusts: 5.66
precipitation_probability: 2
- datetime: '2022-03-27T00:00:00Z'
condition: sunny
temperature: 16
templow: 3
precipitation: 0
wind_bearing: 187.38
wind_speed: 3.09
wind_gusts: 5.66
precipitation_probability: 3
- datetime: '2022-03-28T00:00:00Z'
condition: cloudy
temperature: 11
templow: 5
precipitation: 0
wind_bearing: 304.25
wind_speed: 4.12
wind_gusts: 8.23
precipitation_probability: 19
- datetime: '2022-03-29T00:00:00Z'
condition: cloudy
temperature: 8
templow: 3
precipitation: 0
wind_bearing: 313.62
wind_speed: 4.12
wind_gusts: 8.23
precipitation_probability: 27
- datetime: '2022-03-30T00:00:00Z'
condition: cloudy
temperature: 9
templow: 2
precipitation: 0
wind_bearing: 276.58
wind_speed: 4.12
wind_gusts: 7.2
precipitation_probability: 27
- datetime: '2022-03-31T00:00:00Z'
condition: cloudy
temperature: 9
templow: 2
precipitation: 0
wind_bearing: 237.88
wind_speed: 4.63
wind_gusts: 9.77
precipitation_probability: 25
Help is very much appreciated