I am still learning about home assistant a bit and was wondering if there is a way where I can add a button to my dashboard that would count down from, 5 minutes for example, and after those 5 mins it will run an automation, such as to turn off a certain light.
I have created my timer and it counts down and works well. I am just struggling tying it into an automation such as turn off a certain light or run a series of automations