解锁命令

说明

锁定或解锁设备。

字段

类型 说明
devices [设备]

可以锁定/解锁的设备,例如门、车库、窗户等。

必需

lock 布尔值

true 表示锁定设备,false 表示解锁设备。

必需

示例

actions:
- type: device.command.LockUnlock
  devices: My Device - Room Name
  lock: true