Continue Flask migration.

This commit is contained in:
yohan 2024-06-02 14:58:11 +02:00
parent 7b8c5014d0
commit dd210495f2

View File

@ -212,12 +212,14 @@ migrate = Migrate(app, db, compare_type=True)
# print(row) # print(row)
#sys.stdout.flush() #sys.stdout.flush()
target_name = default_target
def thermostat_loop(): def thermostat_loop():
start_time = time.time() start_time = time.time()
last_control_time = None last_control_time = None
new_forced_mode = None new_forced_mode = None
target_name = default_target
first_loop = True first_loop = True
global target_name
while True: while True:
# if stop.is_set(): # if stop.is_set():