Add EntityFeature enum to Humidifier (#1270)

This commit is contained in:
Franck Nijhof 2022-04-01 20:10:17 +02:00 committed by GitHub
parent 280d357252
commit f29f2507e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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