Skip to content

Instantly share code, notes, and snippets.

@lauer
Last active October 23, 2025 15:47
Show Gist options
  • Select an option

  • Save lauer/433cd9d0e2b7d1b023b4b49561527cfa to your computer and use it in GitHub Desktop.

Select an option

Save lauer/433cd9d0e2b7d1b023b4b49561527cfa to your computer and use it in GitHub Desktop.
Blueprint for Logic Group ZDB5100 and ZBA7140
blueprint:
name: Logic Group Matrix Devices
description: Create automatisation for the ZDB5100 and ZBA7140
domain: automation
author: Jesper Grann Laursen
input:
matrix_device:
name: Matrix device
description: The matrix to interact with
selector:
device:
filter:
- integration: zwave_js
manufacturer: Logic Group
entity:
- domain: button
button_top_left_tap:
name: Tap Button 1 - Top left
description: Action to run on button press.
default: []
selector:
action: {}
button_top_right_tap:
name: Tap Button 2 - Top Right
description: Action to run on button press.
default: []
selector:
action: {}
button_lower_left_tap:
name: Tap Button 3 - Lower Left
description: Action to run on button press.
default: []
selector:
action: {}
button_lower_right_tap:
name: Tap Button 4 - Lower Right
description: Action to run on button press.
default: []
selector:
action: {}
button_top_left_2xtap:
name: Double Tap Button 1 - Top left
description: Action to run on button press.
default: []
selector:
action: {}
button_top_right_2xtap:
name: Double Tap Button 2 - Top Right
description: Action to run on button press.
default: []
selector:
action: {}
button_lower_left_2xtap:
name: Double Tap Button 3 - Lower Left
description: Action to run on button press.
default: []
selector:
action: {}
button_lower_right_2xtap:
name: Double Tap Button 4 - Lower Right
description: Action to run on button press.
default: []
selector:
action: {}
button_top_left_3xtap:
name: Triple Tap Button 1 - Top left
description: Action to run on button press.
default: []
selector:
action: {}
button_top_right_3xtap:
name: Triple Tap Button 2 - Top Right
description: Action to run on button press.
default: []
selector:
action: {}
button_lower_left_3xtap:
name: Triple Tap Button 3 - Lower Left
description: Action to run on button press.
default: []
selector:
action: {}
button_lower_right_3xtap:
name: Triple Tap Button 4 - Lower Right
description: Action to run on button press.
default: []
selector:
action: {}
button_top_left_release:
name: Release Button 1 - Top left
description: Action to run on button press.
default: []
selector:
action: {}
button_top_right_release:
name: Release Button 2 - Top Right
description: Action to run on button press.
default: []
selector:
action: {}
button_lower_left_release:
name: Release Button 3 - Lower Left
description: Action to run on button press.
default: []
selector:
action: {}
button_lower_right_release:
name: Release Button 4 - Lower Right
description: Action to run on button press.
default: []
selector:
action: {}
button_top_left_hold:
name: Hold Button 1 - Top left
description: Action to run on button press.
default: []
selector:
action: {}
button_top_right_hold:
name: Hold Button 2 - Top Right
description: Action to run on button press.
default: []
selector:
action: {}
button_lower_left_hold:
name: Hold Button 3 - Lower Left
description: Action to run on button press.
default: []
selector:
action: {}
button_lower_right_hold:
name: Hold Button 4 - Lower Right
description: Action to run on button press.
default: []
selector:
action: {}
mode: single
max_exceeded: silent
triggers:
- trigger: event
event_type: zwave_js_value_notification
event_data:
device_id: !input matrix_device
command_class_name: Central Scene
action:
- variables:
button_id: "{{ trigger.event.data.property_key_name }}"
button_action: "{{ trigger.event.data.value }}"
- choose:
- conditions: "{{ button_id == '001' and button_action == 'KeyPressed' }}"
sequence: !input button_top_left_tap
- conditions: "{{ button_id == '002' and button_action == 'KeyPressed' }}"
sequence: !input button_top_right_tap
- conditions: "{{ button_id == '003' and button_action == 'KeyPressed' }}"
sequence: !input button_lower_left_tap
- conditions: "{{ button_id == '004' and button_action == 'KeyPressed' }}"
sequence: !input button_lower_right_tap
- conditions: "{{ button_id == '001' and button_action == 'KeyPressed2x' }}"
sequence: !input button_top_left_2xtap
- conditions: "{{ button_id == '002' and button_action == 'KeyPressed2x' }}"
sequence: !input button_top_right_2xtap
- conditions: "{{ button_id == '003' and button_action == 'KeyPressed2x' }}"
sequence: !input button_lower_left_2xtap
- conditions: "{{ button_id == '004' and button_action == 'KeyPressed2x' }}"
sequence: !input button_lower_right_2xtap
- conditions: "{{ button_id == '001' and button_action == 'KeyPressed3x' }}"
sequence: !input button_top_left_3xtap
- conditions: "{{ button_id == '002' and button_action == 'KeyPressed3x' }}"
sequence: !input button_top_right_3xtap
- conditions: "{{ button_id == '003' and button_action == 'KeyPressed3x' }}"
sequence: !input button_lower_left_3xtap
- conditions: "{{ button_id == '004' and button_action == 'KeyPressed3x' }}"
sequence: !input button_lower_right_3xtap
- conditions: "{{ button_id == '001' and button_action == 'KeyHeldDown' }}"
sequence: !input button_top_left_hold
- conditions: "{{ button_id == '002' and button_action == 'KeyHeldDown' }}"
sequence: !input button_top_right_hold
- conditions: "{{ button_id == '003' and button_action == 'KeyHeldDown' }}"
sequence: !input button_lower_left_hold
- conditions: "{{ button_id == '004' and button_action == 'KeyHeldDown' }}"
sequence: !input button_lower_right_hold
- conditions: "{{ button_id == '001' and button_action == 'KeyReleased' }}"
sequence: !input button_top_left_release
- conditions: "{{ button_id == '002' and button_action == 'KeyReleased' }}"
sequence: !input button_top_right_release
- conditions: "{{ button_id == '003' and button_action == 'KeyReleased' }}"
sequence: !input button_lower_left_release
- conditions: "{{ button_id == '004' and button_action == 'KeyReleased' }}"
sequence: !input button_lower_right_release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment