This is a basic blueprint for the Aeotec NanoMote Quad, for use with the default Z-Wave integration based on troy’s similar blueprint for OZW.
Use this blueprint to configure actions when a button is pressed or held.
Similar to troy’s blueprint the list of available devices is for reference only, and the node id must be entered manually.
blueprint:
name: Aeotec ZWA003 NanoMote Quad Edit
description: Create automations for the Aeotec ZWA003 NanoMote Quad using the zwave
integration.
domain: automation
input:
aeotec_nanomote:
name: Aeotec NanoMote Quad
description: List of available NanoMote Quad remotes to configure. This list
is only a reference. At this time, it is not possible to obtain the node's
id using the device selector.
selector:
device:
integration: zwave
manufacturer: Aeotec Limited
model: ZWA003 NanoMote Quad
zwave_node_id:
name: Node ID
description: Enter the node id for an available NanoMote Quad you wish to configure.
For now, this field is required. At this time, it is not possible to obtain
the node's id when using the device selector.
press_button_1:
name: Press Button One
description: Action to run on button press.
default: []
selector:
action: {}
press_button_2:
name: Press Button Two
description: Action to run on button press.
default: []
selector:
action: {}
press_button_3:
name: Press Button Three
description: Action to run on button press.
default: []
selector:
action: {}
press_button_4:
name: Press Button Four
description: Action to run on button press.
default: []
selector:
action: {}
hold_button_1:
name: Hold Button One
description: Action to run on button press.
default: []
selector:
action: {}
hold_button_2:
name: Hold Button Two
description: Action to run on button press.
default: []
selector:
action: {}
hold_button_3:
name: Hold Button Three
description: Action to run on button press.
default: []
selector:
action: {}
hold_button_4:
name: Hold Button Four
description: Action to run on button press.
default: []
selector:
action: {}
mode: single
max_exceeded: silent
variables:
device_id: !input 'aeotec_nanomote'
zwave_node_id: !input 'zwave_node_id'
trigger:
- platform: event
event_type: zwave.scene_activated
condition: '{{ trigger.event.data.node_id == (zwave_node_id | int) }}'
action:
- variables:
scene_id: '{{ trigger.event.data.scene_id }}'
scene_data: '{{ trigger.event.data.scene_data }}'
- choose:
- conditions: '{{ scene_id == 1 and scene_data == 7680 }}'
sequence: !input 'press_button_1'
- conditions: '{{ scene_id == 2 and scene_data == 7680 }}'
sequence: !input 'press_button_2'
- conditions: '{{ scene_id == 3 and scene_data == 7680 }}'
sequence: !input 'press_button_3'
- conditions: '{{ scene_id == 4 and scene_data == 7680 }}'
sequence: !input 'press_button_4'
- conditions: '{{ scene_id == 1 and scene_data == 7800 }}'
sequence: !input 'hold_button_1'
- conditions: '{{ scene_id == 2 and scene_data == 7800 }}'
sequence: !input 'hold_button_2'
- conditions: '{{ scene_id == 3 and scene_data == 7800 }}'
sequence: !input 'hold_button_3'
- conditions: '{{ scene_id == 4 and scene_data == 7800 }}'
sequence: !input 'hold_button_4'