Update things.md (#1186)
Amended example code to include using label and location when defining a Thing with a bridge that is defined elsewhere.pull/1191/head
parent
d10781bd11
commit
bffe35e08b
|
@ -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:
|
Bridges that are defined somewhere else can also be referenced in the DSL:
|
||||||
|
|
||||||
```xtend
|
```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.
|
The referenced bridge is specified in the parentheses.
|
||||||
|
|
Loading…
Reference in New Issue