In openhab 3.4 the item had a display transformation “JS(clockfmt.js):%s” to show a formatted time.
Nothing changes in OH 4 once the add-on is installed. Go back to
Oh - simpler than expected. Thanks!
Do you know, how I can get rid of obsolete add-on:
No and in fact with that syntax Nashorn will not be used.
Hm - it looks like I still have a small problem. When startng up i got several messages like:
“couldn’t transform response because transformationService of type ‘JS’ is unavailable”
You’ve installed the JS Scripting addon, not the Nashorn add-on?