Created
August 23, 2023 20:07
-
-
Save DarkCoder28/9c9b6f071a94c1cd7401cfd5585b2bb5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Philips Hue Dimmer RWL022 (TESTING) | |
description: | |
"Control lights with a Philips Hue Dimmer Switch (v2).\n\n Blueprint\ | |
\ Version: 1" | |
domain: automation | |
input: | |
remote: | |
name: Philips Hue Dimmer Switch | |
description: Pick a RWL022 Dimmer Switch | |
selector: | |
device: | |
integration: zha | |
entity: | |
domain: sensor | |
device_class: battery | |
light: | |
name: The light entity to control. | |
description: The light entity to control; Power will toggle the state, Dim Up will brighten the light, Dim Down will dim the light, & Hue will flash the light to make sure it works. | |
selector: | |
entity: | |
domain: light | |
source_url: https://gist.github.com/DarkCoder28/183dad85cc971fda637a0f0e1e5c5e3d | |
mode: restart | |
max_exceeded: silent | |
variables: | |
light: !input "light" | |
trigger: | |
- platform: event | |
event_type: zha_event | |
event_data: | |
device_id: !input "remote" | |
cluster_id: 64512 | |
action: | |
- variables: | |
command: "{{ trigger.event.data.command }}" | |
- device_id: 9571a6b965e6750fead296bf401f632b | |
domain: mobile_app | |
type: notify | |
message: "{{ command }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment