openhab / openhab-js

openHAB JavaScript Library for JavaScript Scripting Automation
https://www.openhab.org/addons/automation/jsscripting/
Eclipse Public License 2.0
38 stars 31 forks source link

Adjust behaviour of getThing('someThing').setLabel('newLabel') so that the change persists after a restart of OpenHAB #269

Closed proggprod closed 1 year ago

proggprod commented 1 year ago

Your Environment

OpenHAB 4.0.0M3 JS Scripting

Please change the behaviour of getThing('someThing').setLabel('newLabel') so that the change persists after a restart of OpenHAB. I haven't tested it, but .setLocation(location) and .setProperty(name, value) should also be persistent if they aren't already.

Reference https://github.com/openhab/openhab-core/issues/3648.

florian-h05 commented 1 year ago

270 has more detail, therefore closing this.