How to use Lambda recursively

Thanks a lot @rlkoshak !!!
That made the rule even more simple :slight_smile:

I wonder what is the best source for a list off all the methodes (API) I can use in my rules.
Partly the methods can be seen from Openhab.org documentation or from the cummunity posts like DesignPattern.