fixup! Concentrate ThermostatCtrlMenu UI changes

This commit is contained in:
atse 2024-08-28 10:54:58 +08:00
parent ff4aa61b1e
commit 863106d835

View File

@ -151,8 +151,8 @@ class ThermostatCtrlMenu(QtWidgets.QMenu):
@pyqtSlot(ThermostatConnectionState)
def thermostat_state_change_handler(self, state):
if state == ThermostatConnectionState.DISCONNECTED:
self.thermostat_ctrl_menu.fan_pwm_warning.setPixmap(QtGui.QPixmap())
self.thermostat_ctrl_menu.fan_pwm_warning.setToolTip("")
self.fan_pwm_warning.setPixmap(QtGui.QPixmap())
self.fan_pwm_warning.setToolTip("")
@pyqtSlot("QVariantMap")
def hw_rev(self, hw_rev):