Rule DateTime conversion error after move from OH2.5 -> 3.1

Just use now.plusDays(3) without the toString or if that doesn’t work use new DateTimeType(now.plusDays(3)).

1 Like