Continue Flask migration.
This commit is contained in:
parent
7b8c5014d0
commit
dd210495f2
@ -212,12 +212,14 @@ migrate = Migrate(app, db, compare_type=True)
|
||||
# print(row)
|
||||
#sys.stdout.flush()
|
||||
|
||||
target_name = default_target
|
||||
|
||||
def thermostat_loop():
|
||||
start_time = time.time()
|
||||
last_control_time = None
|
||||
new_forced_mode = None
|
||||
target_name = default_target
|
||||
first_loop = True
|
||||
global target_name
|
||||
|
||||
while True:
|
||||
# if stop.is_set():
|
||||
|
Loading…
Reference in New Issue
Block a user