Thank you @123 but can you explain now where to put this code, i know how to create helpers automation from UI and edit buttons from dashboard but this it’s new to me, as you can see i’m at newbie level.
Then save the automation let me know if there are any other error messages.
The two id values are used to set the light’s brightness level.
When the timer starts, the first Event Trigger is triggered and its id value is used to set the light’s brightness to 5%.
When the timer finishes, the second Event Trigger is triggered and its id value is used to set the light’s brightness to 0% (in other words, it turns off the light).
Please consider marking my post above with the Solution tag. It will automatically place a check-mark next to the topic’s title which signals to other users that this topic has been resolved. This helps users find answers to similar questions.