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