Closed seaside1 closed 12 months ago
I've done these changes in order to dynamically generate rules and items. See https://github.com/seaside1/jrule-sonos for an example of how it can be used.
It looks good, but in addition to the method of adding dynamic rules, you need a method for removing these rules.
It looks good, but in addition to the method of adding dynamic rules, you need a method for removing these rules.
When would you like to do this? I mean if you have a use-case?
now doing it in https://github.com/seaside1/jrule/pull/178
Something like this fb997f62703642a1e723d08cf941aa6cb5aaa624
@querdenker2k Would be good to get a review on this, so we can merge and then continue building on the dynamic rules.
I'm merging this due to now review other than querdenker2k comment above.
Updated pull request. For dynamic rules