mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-09 18:36:29 +00:00
Add EntityFeature enum to Humidifier (#1270)
This commit is contained in:
parent
280d357252
commit
f29f2507e3
@ -38,14 +38,14 @@ A device can have different modes of operation that it might want to show to the
|
||||
| `MODE_AUTO` | Device is controlling humidity by itself |
|
||||
| `MODE_BABY` | Device is trying to optimize for babies |
|
||||
|
||||
### Supported features
|
||||
## Supported Features
|
||||
|
||||
Supported features constants are combined using the bitwise or (`|`) operator.
|
||||
|
||||
| Name | Description |
|
||||
| ------------------------- | ------------------------------------------ |
|
||||
| `SUPPORT_MODES` | The device supports different modes. |
|
||||
Supported features are defined by using values in the `HumidifierEntityFeature` enum
|
||||
and are combined using the bitwise or (`|`) operator.
|
||||
|
||||
| Value | Description |
|
||||
| ------- | ------------------------------------ |
|
||||
| `MODES` | The device supports different modes. |
|
||||
|
||||
## Methods
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user