Move config out of subfolder

This commit is contained in:
Georgi Gardev
2022-12-01 16:01:59 +02:00
parent addfa33f6f
commit 1ae0c6d0b8
221 changed files with 0 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
blueprint:
name: Aqara single switch
domain: automation
input:
z2m_topic:
click:
default: []
double_click:
default: []
hold:
default: []
trigger:
platform: mqtt
topic: !input z2m_topic
action:
- choose:
- conditions: "{{ trigger.payload_json.click == 'single' }}"
sequence: !input click
- conditions: "{{ trigger.payload_json.click == 'double' }}"
sequence: !input double_click
- conditions: "{{ trigger.payload_json.action == 'hold' }}"
sequence: !input hold