hi, for one of my rules i need to revert ITEM_A to previous state after ITEM_B has been changed.
console.log(items.getItem('leaksensor').history.previousState(true))
Script execution of rule with UID '961bb95dea' failed: java.lang.UnsupportedOperationException: rrd4j does not allow querys without a begin date, unless order is descending and a single value is requested
As far as i understood the documentation putting the “true” boolean will give me the last unique value. Is it a bug or i need to use different persistant or approach ?