Count down timer display on home page

I have the following configuration on a switch, is it possible to display this timer on the screen or any other way of knowing how far its been on for ?
Thanks

switch:
  
  - platform: gpio
    name: "Pump- Relay"
    pin: GPIO04
    id: relay
    
  - platform: template
    name: "pump-on"
    turn_on_action:
        - switch.turn_on: relay
        - delay: 7200s
        - switch.turn_off: relay

    turn_off_action:
      - then:
        - switch.turn_off: relay
        - switch.template.publish:
            id: relay
            state: OFF

Hi @michaele6
Not shure, but have a look at this custom timer card…
Perhaps you can solve it by any of its options.