Is there a way to change the label text of a json control button at runtime?
There is no access to this from the LUA side … and I do not think there is a JavaScript API to update this data … it is assumed constant.
Also the contents of a D_XXX.json is shared by every device instance that matches it’s corresponding device type. Changing it would be a global change to everything on the UI of that type. (Similar to why you can’t change an Icon for a single device).
Thanks, Richard. I had hoped it could be changed just on the button objects of a single device instance. Oh well, I’ll have to live with the fixed text.