Attribute Object

From Hubitat Documentation
Jump to: navigation, search

Properties

id - Long: the unique id of this attribute.
version - Long: the database version of this attribute.
dataType - String: The type of data that is stored in this attribute, possible values are (ENUM, STRING, DYNAMIC_ENUM, JSON_OBJECT, NUMBER, BOOL, DATE, VECTOR3).
name - String: the name of this attribute.
possibleValues - List<String>: a list of possible values for this attribute if dataType is ENUM.

Methods

getValues

Signature
List<String> getValues()
Parameters
none
Returns
List<String> - the list of possible values for the attribute.