StartStopCommand

说明

启动或停止设备。

字段

类型 说明
devices [设备]

支持开始和停止操作的设备。

必需

变量。

start Bool

true 表示启动设备操作,false 表示停止。

必需

变量。

示例

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