I am using 5 Shelly1’s to turn electric valves on or off.
I want to display the total amount of water used.
For Example:
When the State of “Alle_Sprinkler” is “ON” → Add “1.0” every second to a value.
When the State is “OFF” pause the counter
When the State switches to “ON” again continue to add a certain amount of water per second or minute.
I have already managed to get the current consumption displayed in a Number Item when the Switch is turned on.