Correct about thermostat var

This commit is contained in:
atse 2023-08-31 16:42:55 +08:00
parent 37c0332c31
commit 2231652cb2
1 changed files with 8 additions and 8 deletions

View File

@ -460,24 +460,24 @@ class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):
self,
_translate("MainWindow","About Thermostat"),
f"""
<h1>Sinara 8451 Thermostat v{self.hw_rev_d['rev']['major']}.{self.hw_rev_d['rev']['minor']}</h1>
<h1>Sinara 8451 Thermostat v{self.hw_rev_data['rev']['major']}.{self.hw_rev_data['rev']['minor']}</h1>
<br>
<h2>Settings:</h2>
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']}
<br>
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']}
<br>
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
<br>
Fan available: {self.hw_rev_d['settings']['fan_available']}
Fan available: {self.hw_rev_data['settings']['fan_available']}
<br>
Fan PWM recommended: {self.hw_rev_d['settings']['fan_pwm_recommended']}
Fan PWM recommended: {self.hw_rev_data['settings']['fan_pwm_recommended']}
"""
)