Skip to content

Instantly share code, notes, and snippets.

@orrious
Forked from kpine/ge_double.yaml
Last active July 11, 2023 15:31
Show Gist options
  • Save orrious/606d1566b84e68bea5c4ae1e497eac8f to your computer and use it in GitHub Desktop.
Save orrious/606d1566b84e68bea5c4ae1e497eac8f to your computer and use it in GitHub Desktop.
GE/Jasco Double Tap Generic Blueprint
blueprint:
name: GE Switch Double Taps
description: Create automations to react to double taps from supporting GE, Honeywell, Jasco, and UltraPro switches.
domain: automation
input:
device:
name: Switch Device
description: A GE switch that supports double taps.
selector:
device:
filter:
- integration: zwave_js
manufacturer: GE
- integration: zwave_js
manufacturer: GE/Enbrighten
- integration: zwave_js
manufacturer: Honeywell
- integration: zwave_js
manufacturer: Jasco
- integration: zwave_js
manufacturer: UltraPro
entity:
- domain: light
- domain: switch
- domain: fan
double_tap_on:
name: Double Tap On
description: Actions to run for a double tap on.
default: []
selector:
action:
double_tap_off:
name: Double Tap Off
description: Actions to run for a double tap off.
default: []
selector:
action:
mode: single
max_exceeded: silent
trigger:
platform: event
event_type: zwave_js_value_notification
event_data:
device_id: !input device
command_class: 32 # Basic
action:
- variables:
value: "{{ trigger.event.data.value_raw }}"
- choose:
- conditions: "{{ value == 0 }}"
sequence: !input double_tap_off
- conditions: "{{ value == 255 }}"
sequence: !input double_tap_on
@orrious
Copy link
Author

orrious commented Jul 11, 2023

Added manufacturer "UltraPro"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment