From 2231652cb2330803e275febcbf1f7825e57f9e45 Mon Sep 17 00:00:00 2001 From: atse Date: Thu, 31 Aug 2023 16:42:55 +0800 Subject: [PATCH] Correct about thermostat var --- pytec/tec_qt.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index 49dae7a..43f2928 100644 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -460,24 +460,24 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow): self, _translate("MainWindow","About Thermostat"), f""" -

Sinara 8451 Thermostat v{self.hw_rev_d['rev']['major']}.{self.hw_rev_d['rev']['minor']}

+

Sinara 8451 Thermostat v{self.hw_rev_data['rev']['major']}.{self.hw_rev_data['rev']['minor']}


Settings:

Default fan curve: - a = {self.hw_rev_d['settings']['fan_k_a']}, - b = {self.hw_rev_d['settings']['fan_k_b']}, - c = {self.hw_rev_d['settings']['fan_k_c']} + a = {self.hw_rev_data['settings']['fan_k_a']}, + b = {self.hw_rev_data['settings']['fan_k_b']}, + c = {self.hw_rev_data['settings']['fan_k_c']}
Fan PWM range: - {self.hw_rev_d['settings']['min_fan_pwm']} – {self.hw_rev_d['settings']['max_fan_pwm']} + {self.hw_rev_data['settings']['min_fan_pwm']} – {self.hw_rev_data['settings']['max_fan_pwm']}
- Fan PWM frequency: {self.hw_rev_d['settings']['fan_pwm_freq_hz']} Hz + Fan PWM frequency: {self.hw_rev_data['settings']['fan_pwm_freq_hz']} Hz
- Fan available: {self.hw_rev_d['settings']['fan_available']} + Fan available: {self.hw_rev_data['settings']['fan_available']}
- Fan PWM recommended: {self.hw_rev_d['settings']['fan_pwm_recommended']} + Fan PWM recommended: {self.hw_rev_data['settings']['fan_pwm_recommended']} """ )