FillCommand

說明

為裝置注水或排水。

欄位

鍵 類型 說明
devices [裝置]

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

必填

fill Bool

true後加滿,false後排空。

必填

fillLevel String

指出要設定的 level_name。如未指定,則會填滿至預設等級。

選用

如要使用這個欄位,則「不得」使用下列所有欄位:fillPercent

可用值取決於各裝置。

範例

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