forked from M-Labs/thermostat
report group
This commit is contained in:
parent
9787dc1e8b
commit
cd38a1c303
@ -139,10 +139,10 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
@asyncSlot(ThermostatConnectionState)
|
||||
async def _on_connection_changed(self, state):
|
||||
self.graph_group.setEnabled(state == ThermostatConnectionState.CONNECTED)
|
||||
self.report_group.setEnabled(state == ThermostatConnectionState.CONNECTED)
|
||||
self.thermostat_settings.setEnabled(
|
||||
state == ThermostatConnectionState.CONNECTED
|
||||
)
|
||||
self.report_group.setEnabled(state == ThermostatConnectionState.CONNECTED)
|
||||
|
||||
match state:
|
||||
case ThermostatConnectionState.CONNECTED:
|
||||
|
Loading…
Reference in New Issue
Block a user