Skip to content

Instantly share code, notes, and snippets.

@charno
charno / dimdown.yaml
Last active October 13, 2023 17:13
dim down lights
# Blueprint metadata
blueprint:
name: Dim down active lamps
description: |
# Only dim down lamps that are currently on
source_url: https://gist.github.com/charno/
domain: script
input:
target_light:
name: Lights
@charno
charno / dimup.yaml
Last active October 8, 2023 19:40
ikea fixed
# Blueprint metadata
blueprint:
name: Dim up active lamps
description: |
# Only dim up lamps that are currently on
source_url: https://gist.github.com/charno/0212ad707988d0698171817ad30acf49/dimup.yaml
domain: script
input:
target_light:
name: Lights
@charno
charno / hue_dimmer_switchV2.yaml
Created October 8, 2023 10:41 — forked from stefanroelofs/hue_dimmer_switchV2.yaml
ZHA - Philips Hue Dimmer Switch - V2
blueprint:
name: ZHA - Philips Hue Dimmer Switch - V2
description: |
Control lights with a Philips Hue Dimmer Switch.
The top "on" button behaviour is adjustable. By default it behaves like this:
- Press it while the light is off, and the light will turn on to the last set brightness.
- Press it again while the light is on, the light will turn to the fixed brightness setting.
Dim up/down buttons will change the brightness smoothly and can be pressed