StartStopCommand

说明

启动或停止设备。

字段

键 类型 说明
devices [设备]

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

必填

start 布尔值

true:启动设备操作;false:停止设备操作。

必填

示例

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