seaside1 / jrule

openHAB Java Rules Engine
Eclipse Public License 2.0
29 stars 15 forks source link

add persist #174

Closed querdenker2k closed 1 year ago

querdenker2k commented 1 year ago

with this you can do calls like this: JRuleItems.Tibber_Hourly_Cost_Future.persist(new JRuleDecimalValue(t.getTotal()), zonedDateTime, PERSISTENCE); My current usecases are:

seaside1 commented 1 year ago

Makes sense to add this functionality Some comments thoughts

seaside1 commented 1 year ago

Added two comments in code there about using default service. Are you still considering this a draft?

querdenker2k commented 1 year ago

I just want to let it run in my environment a little bit.