Solved: Openhab3 problem with hashmap containing datetime: validation issue

Hi, I saw the following in the release notes:

Rules now use Java Time API instead of Jodatime so some expressions need to be adapted:

  • getHourOfDay → getHour, getMinuteOfHour → getMinute, getMonthOfYear → getMonthValue
  • Some simple >and < comparisons may no longer work and you may need to use isAfter()/isBefore() instead.
  • See also this thread for more information.

I changed the obvious stuff like the getHour stuff. I also studied the thread mentioned, but I can’t find information about the hashmap issue. It seems likely that there is a link. Maybe I am missing an import statement or something like that.