diff --git a/Control/brewpi/plant.py b/Control/brewpi/plant.py index c7d7b16..8f832fc 100644 --- a/Control/brewpi/plant.py +++ b/Control/brewpi/plant.py @@ -19,6 +19,8 @@ class Plant(APlant): if enable == True: self.heater.remoteEnable(enable) self.heater.setSwitch(enable) + if not self.heater.isRemoteEnable(): + raise Exception ("Heater: Cannot enable remote mode!") else: self.heater.setSwitch(enable) self.heater.remoteEnable(enable)