things

things

Source:

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

Classes

Thing

Methods

(static) getThing(uid, nullIfMissingopt) → {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:
Type
Thing

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

Source:

Gets all openHAB Things.

Returns:

things.Thing[]: all Things

Type
Array.<Thing>