Oh, I see. Because it takes ti,me for sendCommand to work. But … you know what you just sent as a command, why not use iit directly?
var x = some calculation
myItem.sendCommand(x)
sendTelegram(x)
Okay, I think we are not so much about format here yet, but basic Rules syntax.
var G31_V_Beginn = 09.09.2019
That’s not valid syntax. The rules parser does not know what sort of variable you want, you have not told it, so it has to guess. 09 .. ah it is a Number … 09.09 … ahh a decimal Number … 09.09.2019 … oh, its not a valid number at all. Error.
Are you trying to use dates here? This might help