wago: list of lists is returned when accessing multiple key
When doing .get(k)
with k
being a key for multiple Wago logical names,
a list of lists is returned instead of a flat list:
BLISS [1]: w=config.get("wcid232i")
BLISS [2]: w.get("attctrl")
Out [2]: [[0, 0, 1, 1], [0, 0, 0, 0]]
instead of [0,0,1,1,0,0,0,0]
Setting the value via .set("attctrl", ...)
may need a list of lists -
it has to be a flat list too (to be confirmed).