- added temperature sensor
This commit is contained in:
@@ -46,6 +46,8 @@ class Window(QtWidgets.QMainWindow, Ui_MainWindow):
|
||||
|
||||
async def on_sensor_changed(self, msg):
|
||||
print("on_sensor_changed {}".format(msg))
|
||||
if "Temp" in msg:
|
||||
self.lcdNumber_3.display(str(msg['Temp']))
|
||||
|
||||
async def on_heater_changed(self, msg):
|
||||
print("on_heater_changed {}".format(msg))
|
||||
|
||||
Reference in New Issue
Block a user