It’s time for a new release for openhab4 and openhab5 ![]()
In addition to many other changes, this time the python autocompletion is most interesting one
Changelog
Add-on changes
- Fix internal addon log prefix (without .py) to align with script file log prefix
- Added Type Hint Stub Generator as new console command
- Fix update check console command
- Fix ‘update install latest’ command, if a newer preview version was manuell installed
- Update helper lib to version 1.0.6
Helper lib 1.0.6 changes
- Register lifecycleTracker dispose hook only if a Timer is used
- Global ZonedDateTime to datetime conversion.
ZonedDateTime&Instantis now a registered interop_type - Add
Registry.removeItem,Item.getThings,Item.getChannels,Item.getChannelUIDs,Item.getLinks,Item.linkChannel&Item.unlinkChannel=> API documentation - Improved error logs for catched java exceptions in python.
- Fix simple rule decorator (
ruleinstead ofrule()). Both variants works now. - Preview for type hinting (autocompletion)
- BREAKING CHANGE: Changed parameter of Registry.addItem
- BREAKING CHANGE: Replace NotInitialisedException with NotFoundException for getItem, removeItem, getThing, getChannel