Platform history stats: show value only in minutes and seconds

i calculate the daily irrigation time of valves inmy garden with platform history stats. this works well but it show the irrigation time in minutes seconds and miliseconds.
how can i just show it in minutes and seconds?

  • platform: history_stats
    type: time
    name: Irrigation Time today 11
    entity_id: valve.valve_11
    unique_id: 8293834
    state: “open”
    start: “{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}”
    end: “{{ now() }}”