From 4586e347150d2a9da94675b12d0d1757546094b9 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sat, 2 Apr 2022 11:07:12 +0200 Subject: [PATCH] Add EntityFeature enum to Remote --- 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 20bc731a04e..3e06dc0093d 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