搭车询问一个事,设置命令序列(Sending a sequence of commands)的示例是这样:
script:
turn_on_ac:
sequence:
- service: remote.send_command
target:
entity_id: remote.bedroom
data:
device: air conditioner
command:
- turn on
- turn off display
请问在两条 command 间,怎样插入一个延时?
形成类似这样:
command:
- turn on
- <delay 4-second>
- turn off display
|