FillCommand

說明

裝滿或排空裝置中的水。

欄位

類型 說明
devices [裝置]

支援設定風扇速度的裝置。

必填

fill 布林值

true 代表充電,false 代表放電。

必填

fillLevel String

表示要設定的 level_name。如果未指定,則會填入預設等級。

選用

如要使用這個欄位,請勿使用下列所有欄位:fillPercent

可用的值取決於每部裝置。

範例

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