bettwaage-sidequest #2
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue