mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
initial push
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
blueprint:
|
||||
name: GE Switch Double Taps
|
||||
description: Create automations to react to double taps from supporting GE switches.
|
||||
domain: automation
|
||||
input:
|
||||
device:
|
||||
name: Switch Device
|
||||
description: A GE switch that supports double taps.
|
||||
selector:
|
||||
device:
|
||||
integration: zwave_js
|
||||
manufacturer: GE/Jasco
|
||||
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: {}
|
||||
source_url: https://gist.github.com/kpine/65e6324a0e6a9d48f9f50f77310ecd7f
|
||||
mode: single
|
||||
max_exceeded: silent
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: zwave_js_value_notification
|
||||
event_data:
|
||||
device_id: !input 'device'
|
||||
command_class: 32
|
||||
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'
|
||||
Reference in New Issue
Block a user