Here is a blueprint for Nodon Soft Remote.
blueprint:
name: Nodon SoftRemote (Z-Wave JS)
description: |
Create automations for the Nodon Soft Remote using the Z-Wave JS integration.
domain: automation
input:
nodon_softremote:
name: Nodon Soft remote
description: List of available Soft Remote devices.
selector:
device:
integration: zwave_js
manufacturer: ID-RF
model: Soft Remote
button_full_circle:
name: "'Full circle' button simple press"
description: Action to run when the 'full circle' button is pressed once.
default: []
selector:
action:
button_plus:
name: "'+' button simple press"
description: Action to run when the '+' button is pressed once.
default: []
selector:
action:
button_empty_circle:
name: "'Empty circle' button simple press"
description: Action to run when the 'empty circle' button is pressed once.
default: []
selector:
action:
button_minus:
name: "'-' button simple press"
description: Action to run when the '-' button is pressed once.
default: []
selector:
action:
source_url: https://community.home-assistant.io/t/zwjs-nodon-soft-remote/300993/300945
mode: single
max_exceeded: silent
variables:
device_id: !input "nodon_softremote"
trigger:
- platform: event
event_type: zwave_js_value_notification
condition: "{{ trigger.event.data.device_id == device_id }}"
action:
- variables:
property_key_name: "{{ trigger.event.data.property_key_name }}"
property_name: "{{ trigger.event.data.property_name }}"
label: "{{ trigger.event.data.label }}"
command_class_name: "{{ trigger.event.data.command_class_name }}"
value: "{{ trigger.event.data.value }}"
node_id: "{{ trigger.event.data.node_id }}"
- service: logbook.log
data:
name: Z-Wave JS
message:
"received event from node {{node_id}}: {{ command_class_name }} - {{
value }} - {{ label }}"
- choose:
- conditions: |
{{ property_name == 'scene'
and property_key_name == '001'
and (value == 'KeyPressed' or value == 0)
}}
sequence: !input "button_full_circle"
- conditions: |
{{ property_name == 'scene'
and property_key_name == '002'
and (value == 'KeyPressed' or value == 0)
}}
sequence: !input "button_plus"
- conditions: |
{{ property_name == 'scene'
and property_key_name == '003'
and (value == 'KeyPressed' or value == 0)
}}
sequence: !input "button_empty_circle"
- conditions: |
{{ property_name == 'scene'
and property_key_name == '004'
and (value == 'KeyPressed' or value == 0)
}}
sequence: !input "button_minus"