From 69c31d515e06474b372af0d23ee78813aebadc1e Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sun, 3 Apr 2022 06:00:48 +0200 Subject: [PATCH] Add EntityFeature enum to Remote (#1275) --- docs/core/entity/remote.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/core/entity/remote.md b/docs/core/entity/remote.md index 20bc731a..3e06dc00 100644 --- a/docs/core/entity/remote.md +++ b/docs/core/entity/remote.md @@ -22,11 +22,14 @@ An activity is a predefined activity or macro that puts the remote in a specific ## Supported Features -| Constant | Description -| -------- | ----------- -| `SUPPORT_LEARN_COMMAND` | Entity allows learning commands from devices. -| `SUPPORT_DELETE_COMMAND` | Entity allows deleting commands from devices. -| `SUPPORT_ACTIVITY` | Entity supports activities. +Supported features are defined by using values in the `RemoteEntityFeature` enum +and are combined using the bitwise or (`|`) operator. + +| Value | Description | +| ---------------- | --------------------------------------------- | +| `LEARN_COMMAND` | Entity allows learning commands from devices. | +| `DELETE_COMMAND` | Entity allows deleting commands from devices. | +| `ACTIVITY` | Entity supports activities. | ## Methods