StartStopCommand

说明

启动或停止设备。

字段

类型 说明
devices [设备]

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

必填

start 布尔值

true 用于启动设备操作,false 用于停止。

必填

示例

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