-
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Zigbee2MQTT blueprint for Aqara D1 switch (single and dual) (#205)
* Add Zigbee2MQTT blueprint for Aqara D1 switch (dingle and dual) * Change to transparent background
- Loading branch information
Showing
4 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+28.8 KB
custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-d1-1-gang-switch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions
18
custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-d1-1-gang-switch.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Aqara D1 1 gang switch | ||
service: Zigbee2MQTT | ||
event_type: mqtt | ||
mqtt_topic_format: zigbee2mqtt/+/action | ||
buttons: | ||
- actions: | ||
- title: press | ||
conditions: | ||
- key: payload | ||
value: single | ||
- title: press 2x | ||
conditions: | ||
- key: payload | ||
value: double | ||
- title: hold | ||
conditions: | ||
- key: payload | ||
value: hold |
Binary file added
BIN
+31.4 KB
custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-d1-2-gang-switch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions
55
custom_components/switch_manager/blueprints/zigbee2mqtt-aqara-d1-2-gang-switch.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Aqara D1 2 gang switch | ||
service: Zigbee2MQTT | ||
event_type: mqtt | ||
mqtt_topic_format: zigbee2mqtt/+/action | ||
buttons: | ||
- x: 15 | ||
y: 14 | ||
width: 325 | ||
height: 648 | ||
actions: | ||
- title: press | ||
conditions: | ||
- key: payload | ||
value: single_left | ||
- title: press 2x | ||
conditions: | ||
- key: payload | ||
value: double_left | ||
- title: hold | ||
conditions: | ||
- key: payload | ||
value: hold_left | ||
- x: 340 | ||
y: 14 | ||
width: 325 | ||
height: 648 | ||
actions: | ||
- title: press | ||
conditions: | ||
- key: payload | ||
value: single_right | ||
- title: press 2x | ||
conditions: | ||
- key: payload | ||
value: double_right | ||
- title: hold | ||
conditions: | ||
- key: payload | ||
value: hold_right | ||
- x: 340 | ||
y: 340 | ||
width: 100 | ||
actions: | ||
- title: both press | ||
conditions: | ||
- key: payload | ||
value: single_both | ||
- title: both press 2x | ||
conditions: | ||
- key: payload | ||
value: double_both | ||
- title: hold | ||
conditions: | ||
- key: payload | ||
value: hold_both |