Can anybody tell me why the logic below wouldn't work. { This module controls the coach captain heat. Once the temp senor a set temp and winter start button or coach captains A/C on is activated then set high heat on } once (GetLightingState("Winter") = ON)or (GetLightingState("Coach captains A/C") = ON)and (GetUnitParameter("Local",36,ptTemperature)<16) then begin SetLightingState("Coach captain high heat", ON); SetLightingState("Coach captain low heat", ON); SetLightingState("Coach captain fan",ON); end; { This module controls the coach captain heat. Once the temp senor = set temp and winter start button and coach captains A/C on is activated then set low heat on } once (GetLightingState("Winter") = ON)or (GetLightingState("Coach captains A/C") = ON)and (GetUnitParameter("Local",36,ptTemperature)>=16) then begin SetLightingState("Coach captain high heat", OFF); SetLightingState("Coach captain low heat", ON); SetLightingState("Coach captain fan",ON); end; { This module controls the coach captain heat. Once the temp senor = set temp and winter start button and coach captains A/C on is activated then set all heat off } once (GetLightingState("Winter") = ON)or (GetLightingState("Coach captains A/C") = ON)and (GetUnitParameter("Local",36,ptTemperature)>22) then begin SetLightingState("Coach captain high heat", OFF); SetLightingState("Coach captain low heat", OFF); SetLightingState("Coach captain fan",OFF); end; { This module controls the coach captain heat. Once winter start button and coach captains A/C is off then set all heat off } once (GetLightingState("Winter") = OFF) and (GetLightingState("Coach captains A/C") = OFF) then begin SetLightingState("Coach captain high heat", OFF); SetLightingState("Coach captain low heat", OFF); SetLightingState("Coach captain fan", OFF); end;