Last active
April 6, 2024 21:15
-
-
Save DrJeff/f15998c436ee8276ad1df8fece4423e9 to your computer and use it in GitHub Desktop.
MiniMote Blueprint
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: Aeon Labs MiniMote US | |
description: Create automations for the Aeon Labs ZWus MiniMote using the OZW | |
integration. | |
domain: automation | |
input: | |
aeonlabs_minimote: | |
name: Aeon Labs MiniMote US | |
description: List of available Minimote 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: ozw | |
manufacturer: AEON Labs | |
model: DSA03202 Minimote | |
ozw_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. | |
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: {} | |
# source_url: | |
mode: single | |
max_exceeded: silent | |
variables: | |
device_id: !input 'aeonlabs_minimote' | |
ozw_node_id: !input 'ozw_node_id' | |
trigger: | |
- platform: event | |
event_type: ozw.scene_activated | |
condition: '{{ trigger.event.data.node_id == (ozw_node_id | int) }}' | |
action: | |
- variables: | |
scene_id: '{{ trigger.event.data.scene_value_id}}' | |
- 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