fixed indent
This commit is contained in:
@@ -20,18 +20,21 @@ blueprint:
|
|||||||
default: []
|
default: []
|
||||||
selector:
|
selector:
|
||||||
action:
|
action:
|
||||||
|
|
||||||
mode: restart
|
mode: restart
|
||||||
max_exceeded: silent
|
max_exceeded: silent
|
||||||
# Automation schema
|
|
||||||
variables:
|
variables:
|
||||||
# convert input tags to variables, to be used in templates
|
# convert input tags to variables, to be used in templates
|
||||||
remote: !input "remote"
|
remote: !input "remote"
|
||||||
action_cmd_on: !input "action_cmd_on"
|
action_cmd_on: !input "action_cmd_on"
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
- platform: event
|
- platform: event
|
||||||
event_type: zha_event
|
event_type: zha_event
|
||||||
event_data:
|
event_data:
|
||||||
device_id: !input "remote"
|
device_id: !input "remote"
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- variables:
|
- variables:
|
||||||
command: '{{ trigger.event.data.command }}'
|
command: '{{ trigger.event.data.command }}'
|
||||||
|
|||||||
Reference in New Issue
Block a user