Philips Hue – Smooth Dimming and Set Color/CT/Brightness While Off

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.

:sparkles: Key Features

  • :white_check_mark: Create smooth “press to dim, release to stop” automations without janky dimming steps
  • :white_check_mark: Set color/CT/brightness while lights are off

All actions communicate with Hue via the core Philips Hue integration’s existing API connection.

:rocket: Installation

Download from HACS or GitHub (:star: the repo if you like).

Open the Philips Hue Smooth Dimmer HACS repository in your Home Assistant instance.

:level_slider: 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

:crescent_moon: 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.

4 Likes

Update: Set Brightness While Lights Are Off

I just released a new version that lets you adjust a Hue light’s brightness and color temperature while it’s turned off.

I also refreshed the first post to better explain what the integration does and how to install/use it.

As always, feedback is welcome. If you’re using it in interesting automations, I’d love to hear how.

Color control is here

v0.3.0 released today. You can now set a Hue bulb’s color while it’s off, so that it turns on without flashing its previous color.