Log:
Rule ‘Test Rule’: An error occured during the script execution: Cannot convert number literal to typeorg.eclipse.smarthome.core.library.types.DecimalType
Thanks.
Am I even assigning variables correctly?
Still can’t get it working; i ran a test rule with just this:
var testBlowTemp = new DecimalType()
testBlowTemp = 70
sendMail("xxx@gmail.com", “test”, “test”)
I never get the email; if i comment out the var and assignment lines and retry, the email is sent out.
It seems like I dont understand how to assign values?