FillCommand

说明

为设备注水或排水。

字段

键 类型 说明
devices [设备]

支持设置风扇转速的设备。

必填

fill 布尔值

true即可填充,false即可排空。

必填

fillLevel 字符串

指明要设置的 level_name。如果未指定,则填充到默认级别。

可选

如要使用此字段,则不能使用以下所有字段:fillPercent

可用值取决于每个设备。

示例

actions:
- type: device.command.Fill
  devices: My Device - Room Name
  fill: true
  fillLevel: full