StartStopCommand

说明

启动或停止设备。

字段

密钥 类型 说明
devices [设备]

支持启动和停止操作的设备。

必需

start Bool

true 开始设备操作,false 停止。

必需

示例

actions:
- type: device.command.StartStop
  devices: My Device - Room Name
  start: true