Skip to content

Commit

Permalink
Force temp calibration device message to string
Browse files Browse the repository at this point in the history
  • Loading branch information
thorrak committed Feb 7, 2024
1 parent b115fa0 commit 29d2723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 29d2723

Please sign in to comment.