Attribute Object

From Hubitat Documentation
Revision as of 18:27, 16 March 2021 by Bravenel (talk | contribs) (Properties)
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, 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.