Create Templates for states in hierarchy


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


this will give you the complete forecast info:

{{ state_attr('', 'forecast') }}

then you can select sub info like this:

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

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

Perfect, just what I needed. Thx a lot!