From 29d27231dc39e4b90491d4a0367a5f7062c87d50 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 7 Feb 2024 18:36:11 -0500 Subject: [PATCH] Force temp calibration device message to string --- app/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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