Dylan Vos

Results 329 comments of Dylan Vos

It's sad that this is marked as `Won't fix` as it would would mean one has to copy the templates manually from marketplace to include them when all other rules...

According to below file it's added to the persistent storage: [MarketplaceRuleTemplateProvider.java](https://github.com/openhab/openhab-core/blob/main/bundles/org.openhab.core.addon.marketplace/src/main/java/org/openhab/core/addon/marketplace/internal/automation/MarketplaceRuleTemplateProvider.java) And it seems it's also stored inside the Rule itself: [Rule.java#L67](https://github.com/openhab/openhab-core/blob/main/bundles/org.openhab.core.automation/src/main/java/org/openhab/core/automation/Rule.java#L67) And there's also a constructor for it: [RuleImpl.java#L90](https://github.com/openhab/openhab-core/blob/main/bundles/org.openhab.core.automation/src/main/java/org/openhab/core/automation/internal/RuleImpl.java#L90)...

Could it be as simple as allowing it to be passed here? [rules.js#L258](https://github.com/openhab/openhab-js/blob/main/src/rules/rules.js#L258)

Yeah I was thinking about manually editing the source code by manually loading it inside Openhab (through the manual install option) and seeing what it does - probably won't be...

Could be easier than you think - seeing the following line: [RuleBuilder.java#L60](https://github.com/openhab/openhab-core/blob/main/bundles/org.openhab.core.automation/src/main/java/org/openhab/core/automation/util/RuleBuilder.java#L60) The template id is passed through - also in the unmanaged rule - at least, if the method...

So something as follows is needed to pass it through I think: https://github.com/ThaDaVos/openhab-core/commit/027958b397266e1b73d0d8ac6575ae616394734e I added the check if `ruleUid != templateUid` because of [rules.js#L258](https://github.com/openhab/openhab-js/blob/main/src/rules/rules.js#L258)

When's the ETA of the next release?

I've almost got it to manually compile - except I can't seem to figure out how to get `libvirt-glib-1.0` installed: ![afbeelding](https://github.com/clearlinux/distribution/assets/5251028/73c3de71-5ea0-4de7-9d37-7ba9ad44f7f2)

Manually compiled `libvirt-glib-1.0` myself, then compiled `libvirt-dbus`