From c2bd387b45c308fb24e4eda232bbc4685834d817 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sun, 3 Apr 2022 06:00:22 +0200 Subject: [PATCH] Add EntityFeature enum to Water Heater (#1277) --- docs/core/entity/water-heater.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/core/entity/water-heater.md b/docs/core/entity/water-heater.md index 5993902b..91aae084 100644 --- a/docs/core/entity/water-heater.md +++ b/docs/core/entity/water-heater.md @@ -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