Reset Input Number

Hi,
I want to reset the input number of the following integration to 0 at 23:59:59 how to do so?

alias: Batterie SOC
description: ""
trigger:
  - platform: numeric_state
    entity_id:
      - sensor.h3_6kw_battery_charge
    above: 0
condition:
  - condition: numeric_state
    entity_id: sensor.pv_ist_w
    above: 0
action:
  - service: input_number.set_value
    data:
      value: "{{ states('sensor.h3_6kw_battery_soc')|float(0) }}"
    target:
      entity_id: input_number.batterie_soc
mode: single

Thank you

Another automation with a time trigger and the input_number.set_value service in the actions to set it to 0.

Thank you very much!