smarthomej / addons

SmartHome/J addons for openHAB
Eclipse Public License 2.0
59 stars 24 forks source link

Add access to thing configuration #425

Closed clinique closed 1 year ago

clinique commented 1 year ago

Currently org.openhab.core.config is not reachable from within rules. Could it be added to core dependencies made available ?

J-N-K commented 1 year ago

You should be able to do that yourself. Since the configuration of add-ons besides bindings is currently not supported by UI (and this will probably not change before OH4), I implemented a workaround. Go to the "Things" configuration page, then to "Add thing". You'll also see "Java Automation" and next to it a gear wheel. Click on that and add the bundle you need to the list. Done.

clinique commented 1 year ago

Correct, I forgot this. Thanks.

clinique commented 1 year ago

I've tried this but unfortunately it does not seems to add the bundle to core-dependency.jar : image

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.