diff --git a/thermostat.py b/thermostat.py index ab81434..fea5977 100644 --- a/thermostat.py +++ b/thermostat.py @@ -327,6 +327,7 @@ def thermostat_loop(): time.sleep(load_shedder_interval) t1 = Thread(target=thermostat_loop) +t1.daemon = True t1.start() logging.info("====== Ended successfully ======")