A Blueprint to quickly and easily set up a Bilresa dual button to control a light or light group.
The Press and Hold dimming lets the hardware handle the transition. This results in the dimming being smooth and responsive while avoiding the stuttering that comes with other approaches such as looping light on commands.
This feature does require the light selected to support transitions and so it may not work as expected on some devices.
Installation:
Source on GitHub: HA-Blueprints/IKEA/IKEA_Bilresa_Dual_Button.yaml at main · Kaito-Mez/HA-Blueprints · GitHub
Configuration:
-
Single Presses turn the light(s) on/off.
-
Double Presses and Press and Holds can be configured to either adjust brightness or trigger custom actions.
-
Double Press brightness control steps the brightness up or down by a configurable percentage.
-
Press and Hold brightness control smoothly brightens or dims the light while the button is held, the speed can be configured. There are also options to help compensate for issues that arise due to latency.
Please feel free to leave any feedback you have or suggest improvements!