Skip to content

Instantly share code, notes, and snippets.

View hectorsector's full-sized avatar

Hector Alfaro hectorsector

  • Orlando, FL
  • 00:39 (UTC -04:00)
View GitHub Profile
@hectorsector
hectorsector / hue-dimmer-rwl021.yaml
Last active December 6, 2025 21:18 — forked from matheusl02/hue-dimmer-rwl021.yaml
Philips Hue Dimmer Switch (RWL021) Blueprint for Home Assistant - Hue Bridge Integration Complete control blueprint for the Philips Hue Dimmer Switch RWL021 (EU model) designed specifically for the Hue Bridge integration. Supports both short and long press actions for all four buttons (On, Brightness Up, Brightness Down, Off). ⚠️ Important: This…
blueprint:
name: hectorsector - Philips Hue Dimmer Switch with Hue Bridge
description: |
Control lights with a Philips Hue Dimmer Switch.
domain: automation
source_url: https://gist.github.com/hectorsector/9d1424804e3dcbf8010758986613da3a
# Define the inputs for the blueprint
input:
dimmer_device:
module.exports = {
config: {
fontSize: 16,
fontFamily: 'Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
cursorShape: 'UNDERLINE',
termCSS: `
::selection { background-color: rgba(233, 44, 108, 0.8); color: #fcfcfc; }
x-screen a { color: rgba(233, 44, 108, 1.0); }
`,
//windowSize: [1706, 1062],