Salut,
l’attribut Forecast
a été supprimer sur le core 2024.4.0.
Faut se faire un template pour créer un sensor avec l’attribut forecast.
exemple:
template:
- trigger:
- platform: state
entity_id: weather.xxxxx #entité météo france
action:
- service: weather.get_forecasts
data:
type: daily
target:
entity_id: weather.xxxxx
response_variable: daily
sensor:
- name: Weather Forecast Jour XXXX
unique_id: weather_forecast_jour_XXXXX
state: "{{ daily['weather.xxxxx'].forecast[0].condition }}"
attributes:
forecast: "{{ daily['weather.xxxxx'].forecast }}"
Tu utilisera le sensor template sensor.weather_forecast_jour_XXXXX
a la place de ton entité weather weather.xxxxxxxx
PS:
Fallait lire le breaking change du mois