Prévision météo de la journée

Bonjour,
tu dois faire un template trigger en 1er.

template:
  - trigger:
      - platform: time_pattern
        hours: /1
      - platform: homeassistant
        event: start
    action:
      - service: weather.get_forecasts
        data:
          type: daily
        target:
          entity_id: weather.maison
        response_variable: daily
    sensor:
      - name: Weather Forecast Jour Maison
        unique_id: weather_forecast_jour_maison
        state: "{{ daily['weather.maison'].forecast[0].condition }}"
        attributes:
          forecast: "{{ daily['weather.maison'].forecast }}"
        availability:  "{{ states('weather.maison') not in ['unknown', 'unavailable', 'none'] }}"

Après tu fais un sensor template pour récupérer le temp max ou min.

template:
  - sensor: 
     - name: temp max
       unique_id: temp_max
       state:  "{{ state_attr('sensor.weather_forecast_jour_maison','forecast')[0].temperature | float(0) }}"
     - name: temp min
       unique_id: temp_min
       state:  "{{ state_attr('sensor.weather_forecast_jour_maison','forecast')[0].templow | float(0) }}"