-
-
Save ronaldt80/85b9119a8f36bfca19a7011a12a9d2da to your computer and use it in GitHub Desktop.
deCONZ - Ecodim, 4 Channel remote - Blueprint
This file contains 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: deCONZ - Ecodim, 4 Channel remote | |
description: | | |
Control anything using the Ecodim remote | |
domain: automation | |
input: | |
remote: | |
name: Remote controller | |
description: Remote to use | |
selector: | |
device: | |
integration: deconz | |
manufacturer: EcoDim | |
model: ED-10014 | |
button_on_1: | |
name: On Button Row 1 | |
description: Action to run on press on On button | |
default: [] | |
selector: | |
action: | |
button_on_1_long: | |
name: On Long Press Row 1 | |
description: Action to run on press on On long button | |
default: [] | |
selector: | |
action: | |
button_off_1: | |
name: Off Button Row 1 | |
description: Action to run on press on Off button | |
default: [] | |
selector: | |
action: | |
button_off_1_long: | |
name: Off Long Press Row 1 | |
description: Action to run on press on Off long button | |
default: [] | |
selector: | |
action: | |
button_on_2: | |
name: On Button Row 2 | |
description: Action to run on press on On button | |
default: [] | |
selector: | |
action: | |
button_on_2_long: | |
name: On Long Press Row 2 | |
description: Action to run on press on On long button | |
default: [] | |
selector: | |
action: | |
button_off_2: | |
name: Off Button Row 2 | |
description: Action to run on press on Off button | |
default: [] | |
selector: | |
action: | |
button_off_2_long: | |
name: Off Long Press Row 2 | |
description: Action to run on press on Off long button | |
default: [] | |
selector: | |
action: | |
button_on_3: | |
name: On Button Row 3 | |
description: Action to run on press on On button | |
default: [] | |
selector: | |
action: | |
button_on_3_long: | |
name: On Long Press Row 3 | |
description: Action to run on press on On long button | |
default: [] | |
selector: | |
action: | |
button_off_3: | |
name: Off Button Row 3 | |
description: Action to run on press on Off button | |
default: [] | |
selector: | |
action: | |
button_off_3_long: | |
name: Off Long Press Row 3 | |
description: Action to run on press on Off long button | |
default: [] | |
selector: | |
action: | |
button_on_4: | |
name: On Button Row 4 | |
description: Action to run on press on On button | |
default: [] | |
selector: | |
action: | |
button_on_4_long: | |
name: On Long Press Row 4 | |
description: Action to run on press on On long button | |
default: [] | |
selector: | |
action: | |
button_off_4: | |
name: Off Button Row 4 | |
description: Action to run on press on Off button | |
default: [] | |
selector: | |
action: | |
button_off_4_long: | |
name: Off Long Press Row 4 | |
description: Action to run on press on Off long button | |
default: [] | |
selector: | |
action: | |
mode: restart | |
max_exceeded: silent | |
trigger: | |
- platform: event | |
event_type: deconz_event | |
event_data: | |
device_id: !input "remote" | |
action: | |
- variables: | |
event: "{{ trigger.event.data.event }}" | |
- choose: | |
- conditions: | |
- "{{ event == 8001 }}" | |
sequence: !input button_off_1_long | |
- conditions: | |
- "{{ event == 8002 }}" | |
sequence: !input button_off_1 | |
- conditions: | |
- "{{ event == 7001 }}" | |
sequence: !input button_on_1_long | |
- conditions: | |
- "{{ event == 7002 }}" | |
sequence: !input button_on_1 | |
- conditions: | |
- "{{ event == 6001 }}" | |
sequence: !input button_off_2_long | |
- conditions: | |
- "{{ event == 6002 }}" | |
sequence: !input button_off_2 | |
- conditions: | |
- "{{ event == 5001 }}" | |
sequence: !input button_on_2_long | |
- conditions: | |
- "{{ event == 5002 }}" | |
sequence: !input button_on_2 | |
- conditions: | |
- "{{ event == 4001 }}" | |
sequence: !input button_off_3_long | |
- conditions: | |
- "{{ event == 4002 }}" | |
sequence: !input button_off_3 | |
- conditions: | |
- "{{ event == 3001 }}" | |
sequence: !input button_on_3_long | |
- conditions: | |
- "{{ event == 3002 }}" | |
sequence: !input button_on_3 | |
- conditions: | |
- "{{ event == 2001 }}" | |
sequence: !input button_off_4_long | |
- conditions: | |
- "{{ event == 2002 }}" | |
sequence: !input button_off_4 | |
- conditions: | |
- "{{ event == 1001 }}" | |
sequence: !input button_on_4_long | |
- conditions: | |
- "{{ event == 1002 }}" | |
sequence: !input button_on_4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment