Hi, is there a way in new version 2024.4 of HA to extract the daily forecast via template?
In prev version I used attributes from weather.forecast_home to make sensors like:
sensor:
- platform: template
sensors:
day0:
value_template: >-
{% set forecast = state_attr('weather.forecast_home', 'forecast')[0] %}
{{ forecast.datetime | as_timestamp | timestamp_custom('%A') }}
icon0:
value_template: >-
{% set forecast = state_attr('weather.forecast_home', 'forecast')[0] %}
{{ forecast.condition }}
day1 icon1 etc
but now I cannot find the daily forecast in attributes.
In weather card I can use: forecast_type: daily, but how to extract all days as separate sensors?
Thanks for any help!