I just ran into this issue. I eventually replaced the whole violet coloured block with the last block from the Lists menu, to which we can attach a text block. Just remove any unneeded lines (I think it starts with three by default).
It is exactly right how you did it. You have to replace the block with the real one. There is a mention of that situation in the ‘Extending Blockly’ thread ( I am away which is why it is currently hard for me to point you to the right entry).
Do you mind setting it to solved then in the title?
Parameters can be provided by adding a “dictionary” of key / value pairs to the block but can also be left empty if not necessary. The dictionary block can be found openhab blockly “lists” section where you can find more information on how to use it.
It’s that second sentence which seems important in this case, and at the time I didn’t understand that this was a MUST. I will edit the wording a little to try to make it a little clearer.
I’ve made some modifications to that section in the documentation. I have also replaced the screenshot that accompanied it as I realised that was the main reason for my confusion - it had the gear icon expanded which suggested you could add keys here, but that doesn’t work (at least not with the text and variable blocks I tried).
@NickLocke has marked the relevant post as the answer, so a tick automatically appears in the title of the thread.
Thanks, the new wording is fine. I appreciate that you help but do you mind telling me before what and how you want to change so I can review it first because finding out myself takes quite some time due to the length of text comparing it?
Can you please put the picture into it like I depicted it
The idea of the wiki was that Andrew, me and Rich can work together on that. If we remove that we cannot collaborate anymore. I am not saying you must not change anything but at the current state I would still like to review everything to make sure it is correct.
Now now… is that any way to treat your beta testers???
Correction: the block reference is a wiki so that anyone… anyone in the community willing to put their time and efforts into improving is welcome to do so. Thanks T