Hello,
Would it be possible to create a blueprint for this code?
https://community.home-assistant.io/t/stopwatch-with-start-stop-resume-lap-and-reset/443994
It includes a few automations which can be easily merged into one, but it also includes a couple template sensors with some attributes and several triggers which is similar to an automation but I think it cannot be included in a blueprint and also a template button. The only way could be to change the values and attributes of the sensor with helpers, but it’s not very clean.
Is there actually a better way to do it?
Thanks.