forked from M-Labs/thermostat
ok which commit to fixup huh
This commit is contained in:
parent
43758e12a3
commit
0133d2e41b
@ -301,6 +301,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||||||
self.loading_spinner.start()
|
self.loading_spinner.start()
|
||||||
self.loading_spinner.show()
|
self.loading_spinner.show()
|
||||||
|
|
||||||
|
@asyncSlot(int)
|
||||||
async def save_cfg_request(self, ch):
|
async def save_cfg_request(self, ch):
|
||||||
assert self.thermostat.connected()
|
assert self.thermostat.connected()
|
||||||
|
|
||||||
@ -311,6 +312,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||||||
assert self.thermostat.connected()
|
assert self.thermostat.connected()
|
||||||
|
|
||||||
await self.thermostat.load_cfg(str(ch))
|
await self.thermostat.load_cfg(str(ch))
|
||||||
|
|
||||||
@asyncSlot(bool)
|
@asyncSlot(bool)
|
||||||
async def reset_request(self, _):
|
async def reset_request(self, _):
|
||||||
assert self.thermostat.connected()
|
assert self.thermostat.connected()
|
||||||
|
Loading…
Reference in New Issue
Block a user