-
Notifications
You must be signed in to change notification settings - Fork 59
Description
To reproduce create a "List" system variable, e.g. named "Test" with values "Foo;Bar;Other" (But use the WebUI, i am still looking for a way to delete a variable with the JSON API).
Now call SysVar.setEnum with {name: "Test", valueList: "Bar"}. The result will return some invalid JSON (#113), but will "Bar" is successfully selected.
Now we would call SysVar.setEnum with {name: "Test", value: "Bar"} or {name: "Test", value: 1} to set a new value index, but the method only excepts valueList, there is no way to change the selected index?
Now use The value will always be SysVar.getAll, SysVar.getValue or SysVar.getValueByName and there will always be the same: result: "0" or value: "0"."0", the first element of the list, because i am not able to change it.
Hardware: CCU3
Software: 3.65.6