Last active
May 24, 2026 06:38
-
-
Save victorlin/fdcf1de16f4e30e53ec3f7aba573b981 to your computer and use it in GitHub Desktop.
using https://www.amazon.com/dp/B0GHZN4M22 with https://github.com/jasonmx/philips-hue-smooth-dimmer
This file contains hidden or 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: Enbrighten 800 Series Z-Wave On/Off Paddle Switch | |
| domain: automation | |
| input: | |
| zwave_device: | |
| name: Switch | |
| selector: | |
| device: | |
| integration: zwave_js | |
| hue_target: | |
| name: Hue target | |
| description: Hue light, room, or zone target to control. | |
| selector: | |
| target: | |
| entity: | |
| domain: light | |
| tap_2x_up: | |
| name: Tap 2x Up | |
| description: Action to run when Up button is pressed 2 times. | |
| default: [] | |
| selector: | |
| action: | |
| tap_2x_down: | |
| name: Tap 2x Down | |
| description: Action to run when Down button is pressed 2 times. | |
| default: [] | |
| selector: | |
| action: | |
| tap_3x_up: | |
| name: Tap 3x Up | |
| description: Action to run when Up button is pressed 3 times. | |
| default: [] | |
| selector: | |
| action: | |
| tap_3x_down: | |
| name: Tap 3x Down | |
| description: Action to run when Down button is pressed 3 times. | |
| default: [] | |
| selector: | |
| action: | |
| mode: single | |
| max_exceeded: silent | |
| variables: | |
| device_id: !input zwave_device | |
| trigger: | |
| - platform: event | |
| event_type: zwave_js_value_notification | |
| condition: | |
| - condition: template | |
| value_template: "{{ trigger.event.data.device_id == device_id }}" | |
| action: | |
| - variables: | |
| button_id: "{{ trigger.event.data.property_key_name }}" | |
| press_value: "{{ trigger.event.data.value }}" | |
| - choose: | |
| - conditions: "{{ button_id == '001' and press_value == 'KeyPressed' }}" | |
| sequence: | |
| - action: light.turn_on | |
| target: !input hue_target | |
| - conditions: "{{ button_id == '002' and press_value == 'KeyPressed' }}" | |
| sequence: | |
| - action: light.turn_off | |
| target: !input hue_target | |
| - conditions: "{{ button_id == '001' and press_value == 'KeyHeldDown' }}" | |
| sequence: | |
| - action: hue_dimmer.raise | |
| target: !input hue_target | |
| - conditions: "{{ button_id == '002' and press_value == 'KeyHeldDown' }}" | |
| sequence: | |
| - action: hue_dimmer.lower | |
| target: !input hue_target | |
| - conditions: "{{ button_id in ['001', '002'] and press_value == 'KeyReleased' }}" | |
| sequence: | |
| - action: hue_dimmer.stop | |
| target: !input hue_target | |
| # extras | |
| - conditions: "{{ button_id == '001' and press_value == 'KeyPressed2x' }}" | |
| sequence: !input 'tap_2x_up' | |
| - conditions: "{{ button_id == '002' and press_value == 'KeyPressed2x' }}" | |
| sequence: !input 'tap_2x_down' | |
| - conditions: "{{ button_id == '001' and press_value == 'KeyPressed3x' }}" | |
| sequence: !input 'tap_3x_up' | |
| - conditions: "{{ button_id == '002' and press_value == 'KeyPressed3x' }}" | |
| sequence: !input 'tap_3x_down' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment