Create Templates for states in hierarchy

Hi,

So this is probable quite straight forward, but havent found any info on this
How can I return the state values from the “Forecast”?

Thanks,

this will give you the complete forecast info:

{{ state_attr('weather.ug', 'forecast') }}

then you can select sub info like this:

{{ state_attr('weather.ug', 'forecast')[0].temperature }}

which will give you the temperature from the first section of the forecast.

Perfect, just what I needed. Thx a lot!