Skip to content

Instantly share code, notes, and snippets.

@victorlin
Forked from shannonfritz/ge_zw4005.yaml
Last active May 21, 2026 05:11
Show Gist options
  • Select an option

  • Save victorlin/5547cb17f8cd30424ecf287f8f8e1931 to your computer and use it in GitHub Desktop.

Select an option

Save victorlin/5547cb17f8cd30424ecf287f8f8e1931 to your computer and use it in GitHub Desktop.
GE 14291 / ZW4005 Home Assistant Blueprint
blueprint:
name: GE 14291 / ZW4005 Switch (Z-Wave JS) v0.01
description: Create automations for the GE Switches using the Z-Wave JS integration.
domain: automation
input:
ge_jasco:
name: Switch Device
description: 'List of available GE 14291 / ZW4005 switches
NOTE: This device does not have Z-Wave event for Single Tap up or down'
selector:
device:
integration: zwave_js
manufacturer: GE
model: 14291 / ZW4005
tap_2x_up:
name: Tap 2x Up
description: Action to run when Up button is pressed 2 times.
default: []
selector:
action:
tap_2x_dn:
name: Tap 2x Down
description: Action to run when Down button is pressed 2 times.
default: []
selector:
action:
mode: single
max_exceeded: silent
variables:
device_id: !input 'ge_jasco'
trigger:
- platform: event
event_type: zwave_js_value_notification
event_data:
command_class: 32 # Basic
condition: '{{ trigger.event.data.device_id == device_id }}'
action:
- variables:
value: '{{ trigger.event.data.value_raw }}'
- choose:
- conditions: '{{ value == 255 }}'
sequence: !input 'tap_2x_up'
- conditions: '{{ value == 0 }}'
sequence: !input 'tap_2x_dn'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment