I can confirm this works now
configuration.yaml
# Accuweather
template:
- trigger:
- platform: time_pattern
hours: /1
action:
- service: weather.get_forecasts
data:
type: daily
target:
entity_id: weather.geneva
response_variable: daily
sensor:
- name: Accuweather Temperature Max Today (user added)
unique_id: accuweather_temperature_max_today_new
state: "{{ daily['weather.geneva'].forecast[0].temperature }}"
unit_of_measurement: °C
- name: Accuweather Temperature Low Today (user added)
unique_id: accuweather_temperature_low_today_new
state: "{{ daily['weather.geneva'].forecast[0].templow }}"
unit_of_measurement: °C
- name: AccuWeather Temperature Max Tomorrow (user added)
unique_id: accuweather_max_tomorrow_new
state: "{{ daily['weather.geneva'].forecast[1].temperature }}"
unit_of_measurement: °C
- name: Accuweather Temperature Low Tomorrow (user added)
unique_id: accuweather_low_tomorrow_new
state: "{{ daily['weather.geneva'].forecast[1].templow }}"
unit_of_measurement: °C
- name: AccuWeather Condition Tomorrow (user added)
unique_id: accuweather_condition_tomorrow_new
state: "{{ daily['weather.geneva'].forecast[1].condition }}"
# Meteorologisk / MeteoSwiss
- trigger:
- platform: time_pattern
hours: /1
action:
- service: weather.get_forecasts
data:
type: daily
target:
entity_id: weather.forecast_home
response_variable: daily
sensor:
- name: MeteoSwiss Temperature Max Today (user added)
unique_id: meteoswiss_temperature_max_today_new
state: "{{ daily['weather.forecast_home'].forecast[0].temperature }}"
unit_of_measurement: °C
- name: MeteoSwiss Temperature Low Today (user added)
unique_id: meteoswiss_temperature_low_today_new
state: "{{ daily['weather.forecast_home'].forecast[0].templow }}"
unit_of_measurement: °C
- name: MeteoSwiss Temperature Max Tomorrow (user added)
unique_id: meteoswiss_temperature_max_tomorrow_new
state: "{{ daily['weather.forecast_home'].forecast[1].temperature }}"
unit_of_measurement: °C
- name: MeteoSwiss Temperature Low Tomorrow (user added)
unique_id: meteoswiss_temperature_low_tomorrow_new
state: "{{ daily['weather.forecast_home'].forecast[1].templow }}"
unit_of_measurement: °C
- name: MeteoSwiss Condition Tomorrow (user added)
unique_id: meteoswiss_weather_condition_tomorrow_new
state: "{{ daily['weather.forecast_home'].forecast[1].condition }}"
I have seen other solution like here New weather forecast template or Debugging templates and service response_variables