- added temperature sensor

This commit is contained in:
jens
2020-11-25 14:46:05 +01:00
parent ca39f04480
commit 2c3f70a61e
4 changed files with 635 additions and 7 deletions
+2
View File
@@ -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))