Calculation in a rule (numbers and dates)

this might lead you to a solution:

in a nutshell, you need to translate the var date to zonedDateTime. Today you get with „now“. Also consider to change sendCommand to postUpdate and make sure you send the string to the item .toString . unless you really want to action something with this item.

1 Like