Add EntityFeature enum to Water Heater (#1277)

This commit is contained in:
Franck Nijhof 2022-04-03 06:00:22 +02:00 committed by GitHub
parent 6b81f30c6c
commit c2bd387b45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,11 +43,14 @@ Properties have to follow the units defined in the `temperature_unit`.
## Supported Features
| Feature | Description
| ---------------------------- | -----------
| `SUPPORT_TARGET_TEMPERATURE` | Temperature can be set
| `SUPPORT_OPERATION_MODE` | Operation mode can be set
| `SUPPORT_AWAY_MODE` | Away mode can be set
Supported features are defined by using values in the `WaterHeaterEntityFeature` enum
and are combined using the bitwise or (`|`) operator.
| Value | Description |
| -------------------- | ------------------------- |
| `TARGET_TEMPERATURE` | Temperature can be set |
| `OPERATION_MODE` | Operation mode can be set |
| `AWAY_MODE` | Away mode can be set |
## Methods