I have a problem with the following throwing errors:
So if Temp is < 6 I want 'mild' to load, if its between 6 and 13 'mornings only' other wise 'off'
Code:
Select Case TempHall Case > 19.5 If Temp < 6 hs.TriggerEvent("Load Heating mild") hs.SaveINISetting("MyVariables", "HeatingSchedule","Mild", IniFile) Else If Temp > 6 and < 13 hs.TriggerEvent("Load Heating mornings only") hs.SaveINISetting("MyVariables", "HeatingSchedule","Morning", IniFile) Else If Temp > 13 hs.TriggerEvent("Load Heating off") hs.SaveINISetting("MyVariables", "HeatingSchedule","OFF", IniFile) End If
So if Temp is < 6 I want 'mild' to load, if its between 6 and 13 'mornings only' other wise 'off'
Comment