From 39c51eb193d7f924a0757472bd291aacaa11d63b Mon Sep 17 00:00:00 2001 From: Naka-Masa19 Date: Thu, 26 Nov 2026 00:03:39 +0900 Subject: [PATCH] Show pairing information after last client is unpaired --- pyhap/accessory_driver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyhap/accessory_driver.py b/pyhap/accessory_driver.py index 790b8da9..893518ed 100644 --- a/pyhap/accessory_driver.py +++ b/pyhap/accessory_driver.py @@ -987,6 +987,7 @@ def unpair(self, client_uuid: Any) -> None: except Exception: # The removed pairing must be saved regardless. logger.warning("Failed to reset the accessory state", exc_info=True) + self.accessory.setup_message() self.async_persist() def finish_pair(self) -> None: