If you want to dim Hue lights smoothly with a non-Hue button, or to change a light’s color or brightness before it turns on, then this integration is for you.
Key Features
Create smooth “press to dim, release to stop” automations without janky dimming steps
Set color/CT/brightness while lights are off
All actions communicate with Hue via the core Philips Hue integration’s existing API connection.
Installation
Download from HACS or GitHub (
the repo if you like).
Smooth Dimming
Use the raise, lower and stop actions to add the visual polish of native Hue dimming to your “press to dim, release to stop" automations.
Example:
on_hold:
- action: hue_dimmer.raise
on_release:
- action: hue_dimmer.stop
Set Color, Color Temp & Brightness While Off
Use set_attributes to pre-stage a light’s color, CT and brightness before turning it on. This enables you to:
- Eliminate color flashes and brightness extremes when lights turn on
- Create consistent turn-on behavior across your home and automations
Example:
- action: hue_dimmer.set_attributes
data:
min_brightness: 30
max_brightness: 80
color_temp_kelvin: 2700
- action: light.turn_on
You can also check color/CT/brightness while lights are off with get_attributes.
Feedback and questions are welcome. If you use it in interesting blueprints or automations, feel free to share examples below.