Continue Flask migration.
This commit is contained in:
parent
f40fa5e50b
commit
25fad3a6bf
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user