Continue Flask migration.

This commit is contained in:
yohan 2024-06-02 15:08:17 +02:00
parent f40fa5e50b
commit 25fad3a6bf

View File

@ -214,6 +214,7 @@ migrate = Migrate(app, db, compare_type=True)
target_name = default_target
forced_mode = None
current_time = time.time()
def thermostat_loop():
start_time = time.time()
@ -222,6 +223,7 @@ def thermostat_loop():
first_loop = True
global target_name
global forced_mode
global current_time
while True:
# if stop.is_set():