Hi, trying to reset the timer countdown when valve status changed to off but it’s not working.
timer:
vtime2:
duration: "00:00:00"
automation test:
- alias: Turn off the timer
trigger:
- platform: state
entity_id: switch.valve_2
to: 'off'
action:
- service: timer.cancel
data:
entity_id: timer.vtime2
Any help would be appreciated!
3 posts - 2 participants