Universal Magic Button – Helper-Free Dimmer 1.0.0-beta.5

Feedback and testing wanted: If you try this blueprint, please share your working—or non-working—combination. The details requested are listed near the bottom of this post.

Dim lights both up and down with one physical button. Successive holds alternate direction—without requiring a Home Assistant helper.

What it does

  • Short press: synchronized toggle of all target lights.
  • Hold: continuous alternating dim up/down.
  • Release: stop and synchronize brightness.
  • Optional event: apply default light settings, activate a scene or run any action.
  • Supports multiple dimmable lights and pure on/off lights using a configurable breakpoint.

Simple trigger configuration

Select events directly under four dedicated fields:

  • toggle
  • dim_start
  • dim_stop
  • optional set_scene

No Trigger IDs or YAML editing are required. The field in which an event is selected determines its function automatically.


Beta.5: hold-start and hold-release events are selected in separate fields.


Targets, reference light, dimming speed, default settings and the breakpoint for non-dimmable lights.

Requirements

  1. At least one target lamp must support continuous dimming.
  2. The remote must expose separate events for starting and ending a hold.
  3. A reference light is required only for a mixed group containing lights that cannot continuously dim or are on/off only.

Automations created with th earlier published beta.2 remain temporarily compatible through the collapsed Legacy settings section and can be migrated entirely in the visual editor.

Links

Reports of working remote, light and integration combinations are very welcome, or you can send me a sample button or light. Please report which vendor, model and outcome and I will add it to the compatibility list.

Minimum Home Assistant version: 2024.10.0