From bffe35e08b4bdae4477870d99ef0709f98c61a9f Mon Sep 17 00:00:00 2001 From: jadcx <60408305+jadcx@users.noreply.github.com> Date: Mon, 6 Apr 2020 22:55:53 +0100 Subject: [PATCH] Update things.md (#1186) Amended example code to include using label and location when defining a Thing with a bridge that is defined elsewhere. --- configuration/things.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/things.md b/configuration/things.md index de4a9ac7b..6cddbd8bd 100644 --- a/configuration/things.md +++ b/configuration/things.md @@ -123,7 +123,7 @@ The resulting UID of the thing is `hue:0210:mybridge:bulb1`. Bridges that are defined somewhere else can also be referenced in the DSL: ```xtend -Thing hue:0210:mybridge:bulb (hue:bridge:mybridge) [lightId="3"] +Thing hue:0210:mybridge:bulb "Label" (hue:bridge:mybridge) @ "Location" [lightId="3"] ``` The referenced bridge is specified in the parentheses.