Glad it helped!
I’ve created an improved version of the mini button automation that:
- Support Single, double, triple, … many-press
- Dims the last controlled light by holding
- Uses only 1 automation and 2 text helper entities for simplicity
Please note that this blueprint is ideal if you’re using your button exclusively for light controls. For other actions, you can “own” the automation and then edit for your needs.
Features
- Single, double, triple, … many-press: Toggle lights on/off
- Hold: dimming the last controlled light (alternates between increasing and decreasing brightness)
Installation
-
Click the link below to import the blueprint directly into Home Assistant:
-
Follow the blueprint setup instructions to configure your button and lights
Enjoy!