Updating Code ready for openHAB upgrade

Does the first topic in this post help?