- Code: Select all
set value of "t01_targettemperature" to the value of "t01_lastrecordedtemperature"
increment variable T01_TargetTemperature by 1
set variable T00_ThermostatToProcess to 1
Typically the value of the variable "T01_LastRecordedTemperature" might be "19.5".
The problem is that the 1st and 3rd statement gets processed OK but the 2nd statement (increment variable) doesn't seem to get processed. So in this case the variable gets left at 19.5 when I actually want it to be 20.5.
I also note that in the list of actions that the 1st statement is all in lower case variable names but the subsequent ones aren't (the alteration of this 1st statement was done by Indigo - I don't know if it makes any difference)?
I may be missing something obvious but I can't see it for the moment