I wanted to do a calculation with a variable and I set up this
turn Heizluefter on for $zeit_heizluefter minutes
I added a variable with a value (expression gives an error) of
integer(22 - $tempsensor1. temperature).
Tried it with
round(22 - $tempsensor1. temperature
but the same happened : The device turned on and then immediately off again.
Surely I misunderstood the use of variables and expressions.
Thanks for your help