Skip to content

Commit

Permalink
Update things.md
Browse files Browse the repository at this point in the history
Amended example code to include using label and location when defining a Thing with a bridge that is defined elsewhere.
  • Loading branch information
jadcx authored Apr 6, 2020
1 parent 5197c33 commit c107438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configuration/things.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c107438

Please sign in to comment.