things

Namespace

things

Description:
  • Things namespace. This namespace handles querying and editing openHAB Things.

Source:

Classes

Thing

Methods

(static) getThing(uid) → {Thing}

Description:
  • Gets an openHAB Thing. Returns null if no Thing with the given UID exists.

Source:
Parameters:
Name Type Description
uid string

UID of the thing

Returns:
Type
Thing

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

Description:
  • Gets all openHAB Things.

Source:
Returns:

things.Thing[]: all Things

Type
Array:.<Thing:>