Reconfigure Weather sensors with new UI

I want to add to my existing weather device additional sensors

My weather is providing daily rain forecasts but i want to add 2days and 3 days statistics

used to configure this in my YAML configuration file.

I am really struggling to see how to do that using the new UI . With automations ? With Helpers ?

Do you have any idea ?

- trigger:
      - trigger: time_pattern
        hours: "0"
    action:
      - action: weather.get_forecasts
        data:
          type: daily
        target:
          entity_id: weather.home
        response_variable: daily
    sensor:
      - name: Rain next Three days
        unique_id: precipitation_forecast_next_3_days
        state: "{{ daily['weather.home'].forecast[0].precipitation + daily['weather.home'].forecast[1].precipitation + daily['weather.home'].forecast[2].precipitation}}"
        unit_of_measurement: "mm"
        attributes:
          updated_at: "{{ now() }}"

Since this is a trigger-based Template sensor, it is not possible to set it up in the Helper UI; and it is not an automation, so it does not go there…

The configuration example you posted still goes in your configuration.yaml file under the top-level key template (or whatever file you use for your template entities if you have a split configuration).

FYI, it may just be a copy/paste error, but the top line of the config needs to be indented another space.

Many thanks

all your comments are accurate regarding indentation and template

will stay in my config file then…