You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @typedef {object} ItemConfig configuration describing an Item
148
-
* @property {string} type the type of the Item
149
-
* @property {string} name Item name for the Item to create
150
-
* @property {string} [label] the label for the Item
151
-
* @property {string} [category] the category (icon) for the Item
152
-
* @property {string[]} [groups] an array of groups the Item is a member of
153
-
* @property {string[]} [tags] an array of tags for the Item
154
-
* @property {object} [group] group configuration, only applicable if type is `Group`
155
-
* @property {string} group.type the type of the Group, such as `Switch` or `Number`
156
-
* @property {string} [group.function] the group function, such as 'EQUALITY' or `AND`
157
-
* @property {string[]} [group.parameters] optional parameters for the group function, e.g. `ON` and `OFF` for the `AND` function
158
-
* @property {string|object} [channels] for single channel link a string or for multiple an object { channeluid: configuration }; configuration is an object
159
-
* @property {*} [metadata] either object `{ namespace: value }` or `{ namespace: `{@link ItemMetadata}` }`
160
-
* @property {string} [format] short form for the stateDescription metadata's pattern configuration
161
-
* @property {string} [unit] short form for the unit metadata's value
162
-
* @property {boolean} [autoupdate] short form for the autoupdate metadata's value
0 commit comments