things

things

Source:

Things namespace. This namespace handles querying and editing openHAB Things.

Classes

Thing

Methods

(static) getThing(uid, nullIfMissingopt) → {things.Thing}

Source:

Gets an openHAB Thing.

Parameters:
Name Type Attributes Description
uid string

UID of the thing

nullIfMissing boolean <optional>

whether to return null if the Thing cannot be found (default is to throw an exception)

Returns:

the Thing

Type
things.Thing

(static) getThings() → {Array.<things.Thing>}

Source:

Gets all openHAB Things.

Returns:

all Things

Type
Array.<things.Thing>