From aeb5fedb1a8ad1b56fb6961a5d52e68138305565 Mon Sep 17 00:00:00 2001 From: Maksym <3392860+kormax@users.noreply.github.com> Date: Sun, 8 Oct 2023 22:01:39 +0300 Subject: [PATCH] Update pyhap/accessory_driver.py Co-authored-by: J. Nick Koston --- pyhap/accessory_driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyhap/accessory_driver.py b/pyhap/accessory_driver.py index 47868485..930055d9 100644 --- a/pyhap/accessory_driver.py +++ b/pyhap/accessory_driver.py @@ -997,7 +997,7 @@ def signal_handler(self, _signal, _frame): logger.error("Could not stop AccessoryDriver because of error: %s", e) raise - def _notify(self, queries, client_addr): + def _notify(self, queries: List[Dict[str, Any]], client_addr: Tuple[str, int]) -> None: for query in queries: if HAP_PERMISSION_NOTIFY not in query: continue