lpn
(Louis)
February 24, 2025, 1:47pm
1
OH 4.3.2
Unless I missed it, I don’t see a way to update the value of a dictionary key, the equivalent in javascript of:
mydict["mykey"] = "newvalue";
I had to use the “inline script” block to do this. It seems that these are the only two blocks for dictionaries:
Am i correct? If so, could it be added?
rlkoshak
(Rich Koshak)
February 24, 2025, 5:00pm
2
Open an issue on opebnhab-webui.
Those parts of the menu come from the upstream project so adding it might require going there but starting with openhab-webui is probably the right place.
lpn
(Louis)
February 24, 2025, 5:16pm
3
So I guess from your answer that this is currently a limitation.
I opened an issue like you suggested.
Thanks.
For those who want to follow it:
Blockly missing block to update a dictionary value · Issue #3075 · openhab/openhab-webui