Skip to content

Commit b99531d

Browse files
authored
Documented support for wild card thing status triggers (openhab#2438)
openhab/openhab-core#2832 added support for wild card Thing status triggers. This PR adds a couple of sentences documented that and how to use it. Signed-off-by: Richard Koshak <[email protected]>
1 parent 3298dc8 commit b99531d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configuration/rules-dsl.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,8 @@ You can find all the possible values for status from [Thing Status](/docs/concep
277277
The `thingUID` is the identifier assigned to the Thing, manually in your configuration or automatically during auto discovery.
278278
You can find it from UI or from Karaf remote console.
279279
For example, one z-wave device can be "zwave:device:c5155aa4:node14".
280+
The `*` wildcard is allowed in the `thingUID`.
281+
For example, `chromecast:*` will trigger on all `chromecast` Things and `*` will trigger on all things.
280282

281283
If the Rule needs to know what the triggering thing was, or access a string value of the previous or new status, use the [implicit variables]({{base}}/configuration/rules-dsl.html#implicit-variables-inside-the-execution-block) `triggeringThing`, `previousThingStatus` or `newThingStatus` to access the information.
282284

0 commit comments

Comments
 (0)