Members
bridgeUID :string|null
- Description:
Thing's bridge UID as
stringornullif the Thing has no bridge
- Source:
Thing's bridge UID as string or null if the Thing has no bridge
Type:
- string | null
isEnabled :boolean
Whether the Thing is enabled or not
Type:
- boolean
label :string
Thing's label
Type:
- string
location :string
Physical location
Type:
- string
rawThing :HostThing
raw Java Thing
Type:
- HostThing
status :string
Thing stattus
Type:
- string
statusInfo :string
Thing status info (more detailed status text)
Type:
- string
thingTypeUID :string
Thing type UID
Type:
- string
uid :string
Thing UID
Type:
- string
Methods
setEnabled(enabled)
Parameters:
| Name | Type | Description |
|---|---|---|
enabled |
boolean | whether the Thing is enabled or not |
setLabel(label)
Parameters:
| Name | Type | Description |
|---|---|---|
label |
string | Thing label |
setLocation(location)
Parameters:
| Name | Type | Description |
|---|---|---|
location |
string | physical location of the Thing |
setProperty(name, value)
- Description:
Sets the property value for the property identified by the given name.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string | name of the property |
value |
string | value for the property |