Documentation
Enumeration
An Enumeration is a list of values that can be selected.
Requirements
An Enumeration is a Variable with the presentation Enumeration. To use this presentation, the variable must fulfill the following conditions:
- configured Variable action
Parameter
Parameter | Description |
---|---|
Default Icon | The Icon used for the variable |
Options | The individual Options of the enumeration |
Layout | The layout of the options in a tile. Possible layouts are Column, Row, and Grid. Grid is not available for variables of type Boolean. This parameter is only evaluated for appearance as own tile, not for appearance within a list. |
Options
Parameter | Description |
---|---|
Value | The option is applied for this variable value |
Label | Text displayed for this option |
Overwrite icon | If set, the default icon for this presentation is overwritten if the variable has the value of this option |
Icon | Icon for the variable if the variable has the value of this option (only available if "Overwrite icon" is set) |
Color | Color that is used to display this option inside the enumeration |
Display as legacy profile
If a variable uses the presentation Legacy profile, it is displayed as an Enumeration if it also fulfills the following conditions:
- Variable profile with the following parameters:
- step size to 0 (only for integer/float, otherwise no option for step size)
- at least 1 association set
- minimum value and maximum value irrelevant