Closed florian-h05 closed 1 year ago
@rkoshak Ping.
@digitaldan I have addressed your review, can you please have a look at the changes?
i think its probably a very small population if any .
I thing the same, but I'll label it as breaking to make sure that no one is suprised
Sorry I missed the ping. It all looks as I would expect from the metadata side (I never messed with channel links in rules so don't have much to say there.
Been playing around with this. Would be nice if I could remove all channel links or metadata by excluding the name or some other wildcard. Sometimes I don't want to specify the name or channel link, I just want to remove/replace.
IIRC, openHAB Core provides that possibility, so I could add this to the library as well. Can you please open an issue and describe your feature request?
Fixes #189.
Description
This PR completely refactors the
metadata
and theitemchannellink
APIs. Their old versions have been removed (since metadata was unable to support configuration, I'm not sure how many even used it).The new
metadata
API is available under theitems
namespace and is able to add and change metadata configuration as well.itemchannellink
got a few internal improvements and a renaming.To Do
Testing
The following script tests all methods of these APIs: