I have the following timer/sensor sensor.water_valve_timer_time_left
that closing the valve after 5min, from I pressed to opening this valve.
I just need to create a loop to increment this value to not reach the 0 and the valve keeps open until i stop the loop
Can anyone please help me in order to achieve this?
Thank you in advance for your help and best regards
How are you accomplishing this without an automation?
That topic is a read-only source of tips and information about how to post good questions so that the people on this forum can give you useful answers instead of having to ask you so many follow-up questions to clarify what your actual problem, goal, or question is. If you have not read it, you should.
The value is in this entity sensor.water_valve_timer_time_left 5 min at start of open valve command
And I need to create a loop to keep this timer always starting counting when reach 1min for example to keep the valve open until I press some other button to stop this loop.
The integration for this device used is the Zigbee2mqtt