Add clarification to ThingActionScope (#2413)

Fixes: https://github.com/openhab/openhab-addons/issues/10510

Signed-off-by: lsiepel <leosiepel@gmail.com>
pull/2409/head^2
lsiepel 2024-11-28 21:47:12 +01:00 committed by GitHub
parent 63d71cb5b0
commit 18c62200a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -572,6 +572,7 @@ If you implement the `ThingActions` interface, you can tell the framework about
Please note that for actions not related to Things you will instead implement an `ActionHandler` as described in the developing [Module Types](../module-types/) chapter.
You start things off by implementing `ThingActions` and annotate your class with `@ThingActionsScope`.
The scope name should be the binding name, but it can also be bindingname-xxx when you need several scopes (for different thing types).
Since a new service is required for each thing, the component needs to be a `PROTOTYPE`:
```java