diff --git a/src/venstarcolortouch/venstarcolortouch.py b/src/venstarcolortouch/venstarcolortouch.py index 72647ae..2440679 100644 --- a/src/venstarcolortouch/venstarcolortouch.py +++ b/src/venstarcolortouch/venstarcolortouch.py @@ -215,8 +215,10 @@ def set_control(self): return False def set_setpoints(self, heattemp, cooltemp): - # Must not violate setpointdelta. - if heattemp + self.setpointdelta > cooltemp: + # Must not violate setpointdelta if we're in auto mode. + if self.mode == self.MODE_AUTO and heattemp + self.setpointdelta > cooltemp: + print("In auto mode, the cool temp must be {0} " + "degrees warmer than the heat temp.".format(self.setpointdelta)) return False self.heattemp = heattemp self.cooltemp = cooltemp