How to define "Item.stateDescription.options"

Hey guys,

i try to use the habpanel selection widget with configuration loaded from the server (not in csv format in the widget config). I’am not able to set the Item.stateDescription.options value.

It is defined here:

The rest api responded with:

{
"link": "http://xxx:8080/rest/items/home_wz_ambilight_effect",
"state": "NULL",
"transformedState": "\"TV\"",
"stateDescription": {
"pattern": "",
"readOnly": false,
"options": []
},
"type": "String",
"name": "home_wz_ambilight_effect",
"label": "Current Effect",
"tags": [],
"groupNames": []
}

Can anyone tell me how to define the desired variable.
I use the text configuration.

Kind regards,

2 Likes

Has been fixed in Habpanel Server Side List.