mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-15 05:16:28 +00:00
Add EntityFeature enum to Fan (#1269)
This commit is contained in:
parent
febcc69d2d
commit
8d5dc2948c
@ -32,12 +32,15 @@ Manually setting a speed must disable any set preset mode. If it is possible to
|
|||||||
|
|
||||||
## Supported Features
|
## Supported Features
|
||||||
|
|
||||||
| Constant | Description |
|
Supported features are defined by using values in the `FanEntityFeature` enum
|
||||||
|----------|--------------------------------------|
|
and are combined using the bitwise or (`|`) operator.
|
||||||
| 'SUPPORT_DIRECTION' | The fan supports changing the direction.
|
|
||||||
| 'SUPPORT_SET_SPEED' | The fan supports setting the speed percentage and optional preset modes.
|
| Value | Description |
|
||||||
| 'SUPPORT_OSCILLATE' | The fan supports oscillation.
|
| ------------- | ------------------------------------------------------------------------ |
|
||||||
| 'SUPPORT_PRESET_MODE' | The fan supports preset modes.
|
| `DIRECTION` | The fan supports changing the direction. |
|
||||||
|
| `OSCILLATE` | The fan supports oscillation. |
|
||||||
|
| `PRESET_MODE` | The fan supports preset modes. |
|
||||||
|
| `SET_SPEED` | The fan supports setting the speed percentage and optional preset modes. |
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user