Some changes

This commit is contained in:
Maximilian Giller 2023-12-29 22:51:03 +01:00
parent 051f0e8ed0
commit 1f1020c53a

View file

@ -105,10 +105,10 @@ async def display_message(body: dict):
return {"message": "Message displayed"} return {"message": "Message displayed"}
async def main(): # async def main():
await queue.set_idle_action(display_time) # await queue.set_idle_action(display_time)
if __name__ == "__main__": # if __name__ == "__main__":
asyncio.create_task(main()) # asyncio.create_task(main())
asyncio.create_task(log_temperature()) # asyncio.create_task(log_temperature())