This is an example of an automation in Hue Essentials. With the automations created you can use a single switch button to toggle on and off a group, increase the brightness by holding it, and decreasing the brightness by holding it again.
On Friends of Hue switches this can be quite useful, as you could use every button for a different group of lights.
Create automations
For all the automations below it is important that you use the same room/group. If you want can repeat the steps below for other buttons with different groups.
Toggle automation
This first automation will simply toggle the lights on and off when the button is pressed.
- Open Hue Essentials
- Go to the Devices tab
- Select your smart switch
- Select the button you want to create this automation for
- Tap the + button under the Automation header
- Make sure that for the event:
- Type is set to: Release (Press)
- Multiple presses is set to: Always
- Tap the Add action button, select Toggle group, select your group, and make sure the state is set to Toggle
- Save the automation
Instead of toggling a group, you could instead toggle a scene
Now you can toggle on/off your lights with a press. Next up is creating three automations for the brightness control:
Increase brightness automation
- On the same screen, tap the + button under the Automation header
- Make sure that for the event:
- Type is set to: Hold
- Multiple presses is set to: First press
- Tap the Add action button, select Set group brightness, select your group, and make sure that:
- Type is set to: Increase brightness
- Brightness is set to: 100%
- Fade time is set to 3 seconds
- Save the automation
Decrease brightness automation
- On the same screen, tap the + button under the Automation header
- Make sure that for the event:
- Type is set to: Hold
- Multiple presses is set to: Second press
- Tap the Add action button, select Set group brightness, select your group, and make sure that:
- Type is set to: Decrease brightness
- Brightness is set to: 100%
- Fade time is set to 3 seconds
- Save the automation
Stop brightness change automation
- On the same screen, tap the + button under the Automation header
- Make sure that for the event:
- Type is set to: Release (Hold)
- Multiple presses is set to: Always
- Tap the Add action button, select Set group brightness, select your group, and make sure that:
- Type is set to: Stop brightness change
- Fade time is set to 0 seconds
- Save the automation
Now you have set up your switch to toggle and change brightness all on a single button.