Hi all,
I'm using the Meteorologisk institutt (Met.no) integration for weather forecast.
The hourly forecast can be seen within the frontend but not using the attribute template anymore.
Few months ago I could extract the maximum temperature using the below template.
state: "{{ [state_attr('weather.forecast_home_hourly','forecast')[0].temperature|round(1), state_attr('weather.forecast_home_hourly','forecast')[1].temperature|round(1), state_attr('weather.forecast_home_hourly','forecast')[2].temperature|round(1), state_attr('weather.forecast_home_hourly','forecast')[3].temperature|round(1),state_attr('weather.forecast_home_hourly','forecast')[4].temperature|round(1), state_attr('weather.forecast_home_hourly','forecast')[5].temperature|round(1), state_attr('weather.forecast_home_hourly','forecast')[6].temperature|round(1), state_attr('weather.forecast_home_hourly','forecast')[7].temperature|round(1), state_attr('weather.forecast_home_hourly','forecast')[8].temperature|round(1), state_attr('weather.forecast_home_hourly','forecast')[9].temperature|round(1) ] | map('float') | max }}"
Unfortunately, this is not working anymore.
I would appreciate any help you can give me.