diff --git a/app/models.py b/app/models.py index 18fa81c1..ef2c61f8 100644 --- a/app/models.py +++ b/app/models.py @@ -379,7 +379,7 @@ def write_config_to_controller(self, uninstall=False): if self.hardware == 1: # Set options that are specific to pin devices config_dict['x'] = int(self.invert) elif self.hardware == 2 or self.hardware == 5 or self.hardware == 6: # Set options that are specific to OneWire & Bluetooth temp sensors - config_dict['j'] = self.calibrate_adjust + config_dict['j'] = str(self.calibrate_adjust) config_dict['a'] = self.address elif self.hardware == 7: config_dict['a'] = self.address