Push the button to toggle a smart bulb between dim and bright
A quick definition of variables for clarity
Button UtilityRoom is the name of the Smartthings button
UT0 is the name of the smart bulb
__ut0_state is the name of a virtual switch (you will need to create one to match your bulb)
Rule 2 simulates pushing the button again 30s after the first push. For my use case I only wanted the light to be bright long enough for me to find something is the freezer. As a bonus it also so serves as a reminder to hurry up and close the freezer door
You could also use a local Boolean variable to track button pushes/ state and replace __ut0_state with it instead and then skip creating Rule 2. In this case On=true
i.e Change On: __ut0_state to Set localVar to true
These little buttons are great!
Enjoy and have fun!!