ChargeCommand

说明

开始或停止充电。

字段

类型 说明
devices [设备]

可以在电池中存储能量并可能充电的设备,或可为其他设备充电的设备。

必需

变量。

charge Bool

true 表示开始充电,false 表示停止充电。

必需

变量。

示例

actions:
- type: device.command.Charge
  devices: My Device - Room Name
  charge: true