Shutdown on signal.

This commit is contained in:
yohan 2024-06-06 23:14:25 +02:00
parent 5a9a53ec2f
commit 38ab46aa3d

View File

@ -385,4 +385,6 @@ def thermostat_loop():
t1 = Thread(target=thermostat_loop)
t1.daemon = True
t1.start()
dbconn.close()
logging.info("====== Ended successfully ======")