mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-18 11:56:01 +02:00
Remove unused import statement for sqlalchemy in main.py
This commit is contained in:
@@ -2423,8 +2423,6 @@ async def lifespan(app: FastAPI):
|
||||
|
||||
# Restore MQTT smart plug subscriptions
|
||||
if mqtt_settings.get("mqtt_enabled"):
|
||||
from sqlalchemy import select
|
||||
|
||||
from backend.app.models.smart_plug import SmartPlug
|
||||
|
||||
result = await db.execute(select(SmartPlug).where(SmartPlug.plug_type == "mqtt"))
|
||||
|
||||
Reference in New Issue
Block a user