From 586bbdc43993d1e0ba9038e086ff9d3e73068b5e Mon Sep 17 00:00:00 2001 From: dnutiu Date: Wed, 7 Feb 2024 21:50:55 +0200 Subject: [PATCH] use driver.async_start() --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 8d337e0..b425352 100644 --- a/app/main.py +++ b/app/main.py @@ -45,7 +45,7 @@ async def main(): driver.add_accessory(accessory=get_bridge(driver, settings)) signal.signal(signal.SIGTERM, driver.signal_handler) signal.signal(signal.SIGINT, driver.signal_handler) - driver.start() + await driver.async_start() if __name__ == "__main__":