bettwaage-sidequest #2

Merged
m.giller merged 38 commits from bettwaage-sidequest into master 2024-06-07 23:38:56 +02:00
Showing only changes of commit ab249a679d - Show all commits

View file

@ -5,10 +5,10 @@ from endpoints.bettwaage import router as bettwaage_router
from endpoints.handlers.fritz import track_network_devices from endpoints.handlers.fritz import track_network_devices
app = FastAPI() app = FastAPI()
asyncio.create_task(track_network_devices())
app.include_router(hue_router, prefix="/hue", tags=["hue"]) app.include_router(hue_router, prefix="/hue", tags=["hue"])
app.include_router(bettwaage_router, prefix="/bettwaage", tags=["bett"]) app.include_router(bettwaage_router, prefix="/bettwaage", tags=["bett"])
if __name__ == "__main__": if __name__ == "__main__":
asyncio.create_task(track_network_devices())
app.run() app.run()