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 SysVar.getAll, SysVar.getValue or SysVar.getValueByName and there will always be the same: result: "0" or value: "0". The value will always be "0", the first element of the list, because i am not able to change it.
Hardware: CCU3
Software: 3.65.6
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 callSysVar.setEnumwith{name: "Test", valueList: "Bar"}. The result will return some invalid JSON (#113), but will "Bar" is successfully selected.Now we would call
SysVar.setEnumwith{name: "Test", value: "Bar"}or{name: "Test", value: 1}to set a new value index, but the method only exceptsvalueList, there is no way to change the selected index?Now useThe value will always beSysVar.getAll,SysVar.getValueorSysVar.getValueByNameand there will always be the same:result: "0"orvalue: "0"."0", the first element of the list, because i am not able to change it.Hardware: CCU3
Software: 3.65.6