Z-Wave JS - GE/Jasco 14291 / ZW4005 Switch

This is a Blueprint for the GE/Jasco 14291 / ZW4005 Switch. It’s an older switch that only supports double tap events using the Basic set and the Single tap doesn’t generate an event in Z-Wave JS. The single tap does create a state_changed event that could be used in an automation, but is not included in this template.

This device has two buttons that I refer to as “UP” and “DOWN” for the on/off paddles making this Blueprint support two (2) actions:

  • 2x for both UP and DOWN

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

blueprint:
  name: GE/Jasco 14291 / ZW4005 Switch (Z-Wave JS) v0.01
  description: Create automations for the GE/Jasco Switches using the Z-Wave JS integration.
  domain: automation
  input:
    ge_jasco:
      name: Switch Device
      description: 'List of available GE/Jasco 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/Jasco
          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:
#  source_url: https://gist.github.com/shannonfritz/79517f416cbefc6cf0f0a8fe269074ab
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'