FillCommand

说明

为设备加水或排水。

字段

密钥 类型 说明
devices [设备]

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

必需

fill Bool

true 为加水,false 为排水。

必需

fillLevel 字符串

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

可选

如需使用此字段,不得使用以下所有字段:fillPercent

可用的值取决于具体设备。

示例

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