Hi Troon
Thank you very much, you are a genius 
I have tested the following comand in the template editor:
{% set f = state_attr('sensor.srf_weather_forecast_v2','forecast') %}
{{ f|selectattr('datetime','match',now().date()|string)|map(attribute='templow')|min }}
{{ f|selectattr('datetime','match',now().date()|string)|map(attribute='temphigh')|max }}
and it seems to work:
-3.6
5.0
I have tested another command:
{% set f = state_attr('sensor.srf_weather_forecast','forecast') %}
{{ f|selectattr('datetime','match',now().date()|string)|map(attribute='datetime') | list }}
The entries marked in yellow are either duplicates or are in the past from today’s date
Same result if I look at the unfiltered list or in HA in the actions.
{% set f = state_attr('sensor.srf_weather_forecast_v2','forecast') %}
{{f | map(attribute='datetime') | list}}
[
"2025-01-22T12:00:00+01:00",
"2025-01-22T13:00:00+01:00",
"2025-01-22T14:00:00+01:00",
"2025-01-22T15:00:00+01:00",
"2025-01-22T16:00:00+01:00",
"2025-01-22T17:00:00+01:00",
"2025-01-22T18:00:00+01:00",
"2025-01-22T19:00:00+01:00",
"2025-01-22T20:00:00+01:00",
"2025-01-22T21:00:00+01:00",
"2025-01-22T22:00:00+01:00",
"2025-01-22T23:00:00+01:00",
"2025-01-23T00:00:00+01:00",
"2025-01-23T01:00:00+01:00",
"2025-01-23T02:00:00+01:00",
"2025-01-23T03:00:00+01:00",
"2025-01-23T04:00:00+01:00",
"2025-01-23T05:00:00+01:00",
"2025-01-23T06:00:00+01:00",
"2025-01-23T07:00:00+01:00",
"2025-01-23T08:00:00+01:00",
"2025-01-23T09:00:00+01:00",
"2025-01-23T10:00:00+01:00",
"2025-01-23T11:00:00+01:00",
"2025-01-23T12:00:00+01:00",
"2025-01-23T13:00:00+01:00",
"2025-01-23T14:00:00+01:00",
"2025-01-23T15:00:00+01:00",
"2025-01-23T16:00:00+01:00",
"2025-01-23T17:00:00+01:00",
"2025-01-23T18:00:00+01:00",
"2025-01-23T19:00:00+01:00",
"2025-01-23T20:00:00+01:00",
"2025-01-23T21:00:00+01:00",
"2025-01-23T22:00:00+01:00",
"2025-01-23T23:00:00+01:00",
"2025-01-24T00:00:00+01:00",
"2025-01-24T01:00:00+01:00",
"2025-01-24T02:00:00+01:00",
"2025-01-24T03:00:00+01:00",
"2025-01-24T04:00:00+01:00",
"2025-01-24T05:00:00+01:00",
"2025-01-24T06:00:00+01:00",
"2025-01-24T07:00:00+01:00",
"2025-01-24T08:00:00+01:00",
"2025-01-24T09:00:00+01:00",
"2025-01-24T10:00:00+01:00",
"2025-01-24T11:00:00+01:00",
"2025-01-24T12:00:00+01:00",
"2025-01-24T13:00:00+01:00",
"2025-01-24T14:00:00+01:00",
"2025-01-24T15:00:00+01:00",
"2025-01-24T16:00:00+01:00",
"2025-01-24T17:00:00+01:00",
"2025-01-24T18:00:00+01:00",
"2025-01-24T19:00:00+01:00",
"2025-01-24T20:00:00+01:00",
"2025-01-24T21:00:00+01:00",
"2025-01-24T22:00:00+01:00",
"2025-01-24T23:00:00+01:00",
"2025-01-25T00:00:00+01:00",
"2025-01-25T01:00:00+01:00",
"2025-01-25T02:00:00+01:00",
"2025-01-25T03:00:00+01:00",
"2025-01-25T04:00:00+01:00",
"2025-01-25T05:00:00+01:00",
"2025-01-25T06:00:00+01:00",
"2025-01-25T07:00:00+01:00",
"2025-01-25T08:00:00+01:00",
"2025-01-25T09:00:00+01:00",
"2025-01-25T10:00:00+01:00",
"2025-01-22T01:00:00+01:00",
"2025-01-22T04:00:00+01:00",
"2025-01-22T07:00:00+01:00",
"2025-01-22T10:00:00+01:00",
"2025-01-22T13:00:00+01:00",
"2025-01-22T16:00:00+01:00",
"2025-01-22T19:00:00+01:00",
"2025-01-22T22:00:00+01:00",
"2025-01-23T01:00:00+01:00",
"2025-01-23T04:00:00+01:00",
"2025-01-23T07:00:00+01:00",
"2025-01-23T10:00:00+01:00",
"2025-01-23T13:00:00+01:00",
"2025-01-23T16:00:00+01:00",
"2025-01-23T19:00:00+01:00",
"2025-01-23T22:00:00+01:00",
"2025-01-24T01:00:00+01:00",
"2025-01-24T04:00:00+01:00",
"2025-01-24T07:00:00+01:00",
"2025-01-24T10:00:00+01:00",
"2025-01-24T13:00:00+01:00",
"2025-01-24T16:00:00+01:00",
"2025-01-24T19:00:00+01:00",
"2025-01-24T22:00:00+01:00",
"2025-01-25T01:00:00+01:00",
"2025-01-25T04:00:00+01:00",
"2025-01-25T07:00:00+01:00",
"2025-01-25T10:00:00+01:00",
"2025-01-25T13:00:00+01:00",
"2025-01-25T16:00:00+01:00",
"2025-01-25T19:00:00+01:00",
"2025-01-25T22:00:00+01:00",
"2025-01-26T01:00:00+01:00",
"2025-01-26T04:00:00+01:00",
"2025-01-26T07:00:00+01:00",
"2025-01-26T10:00:00+01:00",
"2025-01-26T13:00:00+01:00",
"2025-01-26T16:00:00+01:00",
"2025-01-26T19:00:00+01:00",
"2025-01-26T22:00:00+01:00",
"2025-01-27T01:00:00+01:00",
"2025-01-27T04:00:00+01:00",
"2025-01-27T07:00:00+01:00",
"2025-01-27T10:00:00+01:00",
"2025-01-27T13:00:00+01:00",
"2025-01-27T16:00:00+01:00",
"2025-01-27T19:00:00+01:00",
"2025-01-27T22:00:00+01:00",
"2025-01-28T01:00:00+01:00",
"2025-01-28T04:00:00+01:00",
"2025-01-28T07:00:00+01:00",
"2025-01-28T10:00:00+01:00",
"2025-01-28T13:00:00+01:00",
"2025-01-28T16:00:00+01:00",
"2025-01-28T19:00:00+01:00",
"2025-01-28T22:00:00+01:00",
"2025-01-29T01:00:00+01:00",
"2025-01-29T04:00:00+01:00",
"2025-01-29T07:00:00+01:00",
"2025-01-29T10:00:00+01:00",
"2025-01-29T13:00:00+01:00",
"2025-01-29T16:00:00+01:00",
"2025-01-29T19:00:00+01:00",
"2025-01-29T22:00:00+01:00",
"2025-01-30T01:00:00+01:00",
"2025-01-30T04:00:00+01:00",
"2025-01-30T07:00:00+01:00",
"2025-01-30T10:00:00+01:00"
]
I think this problem is due to the provider from whom I get this weather data? Or can I do something else to avoid this entries?
Thank you very much
Greetings
Marc