manage imports

This commit is contained in:
derlole
2025-05-13 23:01:38 +00:00
parent 0cc3e7b0c3
commit 62d74f6f55
4 changed files with 8 additions and 21 deletions

View File

@@ -1,6 +1,5 @@
import sqlite3
import os
from datetime import datetime, timedelta
from modules.socketio import resend_static_data
import random
@@ -42,6 +41,7 @@ def get_coffees():
conn.close()
return coffees
def create_toggle_machine():
randID = random.randint(1000, 9999)
fullCommand = {'command': 'toggle_machine', 'status': 'pending', 'command_id': randID}