SetFanSpeedRelativeCommand

說明

設定風扇的相對速度。

欄位

索引鍵 類型 說明
devices [裝置]

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

必要

可使用變數。

fanSpeedRelativePercent 數字

這個值代表要變化的速度百分比。

選用

如要使用這個欄位,下列所有欄位「都」不能使用:fanSpeedRelativeWeight

可使用變數。

fanSpeedRelativeWeight 數字

這個值代表速度變化的相對量。絕對值代表經過調整的數量,數字符號則代表變動方向。

選用

如要使用這個欄位,下列所有欄位「都」不能使用:fanSpeedRelativePercent

可使用變數。

示例

actions:
- type: device.command.SetFanSpeedRelative
  fanSpeedRelativePercent: -10
  devices: My Device - Room Name