ChargeCommand

说明

开始或停止充电。

字段

密钥 类型 说明
devices [设备]

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

必需

charge Bool

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

必需

示例

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