Last active
January 30, 2022 23:11
-
-
Save nelsonjchen/b35bf1d651d13943201c58c3bcc73124 to your computer and use it in GitHub Desktop.
Aeotec Minimote buttons
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
blueprint: | |
name: Aeotec Minimote | |
description: Create automations for the Aeotec Minimote | |
domain: automation | |
input: | |
aeotec_minimote: | |
name: Aeotec MiniMote | |
description: The Minimote to interact with. | |
selector: | |
device: | |
integration: zwave_js | |
button_1: | |
name: Press Button One | |
description: Action to run on button press. | |
default: [] | |
selector: | |
action: {} | |
button_2: | |
name: Press Button Two | |
description: Action to run on button press. | |
default: [] | |
selector: | |
action: {} | |
button_3: | |
name: Press Button Three | |
description: Action to run on button press. | |
default: [] | |
selector: | |
action: {} | |
button_4: | |
name: Press Button Four | |
description: Action to run on button press. | |
default: [] | |
selector: | |
action: {} | |
mode: single | |
max_exceeded: silent | |
trigger: | |
platform: event | |
event_type: zwave_js_value_notification | |
event_data: | |
command_class_name: Scene Activation | |
device_id: !input aeotec_minimote | |
action: | |
- variables: | |
scene_id: "{{ trigger.event.data.value }}" | |
- choose: | |
- conditions: "{{ scene_id == 1 }}" | |
sequence: !input button_1 | |
- conditions: "{{ scene_id == 3 }}" | |
sequence: !input button_2 | |
- conditions: "{{ scene_id == 5 }}" | |
sequence: !input button_3 | |
- conditions: "{{ scene_id == 7 }}" | |
sequence: !input button_4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment