I want to create a stopwatch, that would help me keep track of how much time I spend working. I have a xiaomi wifi button lying around and would use it as a trigger.
So when I press it, the stopwatch starts. When I press it again, it pauses (and so on, with no reset). An automatic reset should occur by the end of each day.
The current/accumulated time for the day will be displayed on a wall mounted laptop (using Tasker/Autoremote).
My question is: How do I create this stopwatch function? Is there a template somewhere I missed? I could only find something for static timers.