Bump HAP-python to 4.7.0 (#94812)
This commit is contained in:
parent
4def901ecc
commit
b857dc8d94
5 changed files with 17 additions and 14 deletions
|
@ -626,10 +626,10 @@ class HomeDriver(AccessoryDriver): # type: ignore[misc]
|
|||
|
||||
@pyhap_callback # type: ignore[misc]
|
||||
def pair(
|
||||
self, client_uuid: UUID, client_public: str, client_permissions: int
|
||||
self, client_username_bytes: bytes, client_public: str, client_permissions: int
|
||||
) -> bool:
|
||||
"""Override super function to dismiss setup message if paired."""
|
||||
success = super().pair(client_uuid, client_public, client_permissions)
|
||||
success = super().pair(client_username_bytes, client_public, client_permissions)
|
||||
if success:
|
||||
async_dismiss_setup_message(self.hass, self._entry_id)
|
||||
return cast(bool, success)
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"iot_class": "local_push",
|
||||
"loggers": ["pyhap"],
|
||||
"requirements": [
|
||||
"HAP-python==4.6.0",
|
||||
"HAP-python==4.7.0",
|
||||
"fnv-hash-fast==0.3.1",
|
||||
"PyQRCode==1.2.1",
|
||||
"base36==0.1.1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue