Bump aiohomekit to 3.0.6 (#102341)
parent
ec1b3fe6fb
commit
6baa8082d5
|
@ -36,6 +36,7 @@ class HomeKitEntity(Entity):
|
|||
pollable_characteristics: list[tuple[int, int]]
|
||||
watchable_characteristics: list[tuple[int, int]]
|
||||
all_characteristics: set[tuple[int, int]]
|
||||
accessory_info: Service
|
||||
|
||||
def __init__(self, accessory: HKDevice, devinfo: ConfigType) -> None:
|
||||
"""Initialise a generic HomeKit device."""
|
||||
|
@ -144,9 +145,11 @@ class HomeKitEntity(Entity):
|
|||
accessory = self._accessory
|
||||
self.accessory = accessory.entity_map.aid(self._aid)
|
||||
self.service = self.accessory.services.iid(self._iid)
|
||||
self.accessory_info = self.accessory.services.first(
|
||||
accessory_info = self.accessory.services.first(
|
||||
service_type=ServicesTypes.ACCESSORY_INFORMATION
|
||||
)
|
||||
assert accessory_info
|
||||
self.accessory_info = accessory_info
|
||||
# If we re-setup, we need to make sure we make new
|
||||
# lists since we passed them to the connection before
|
||||
# and we do not want to inadvertently modify the old
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
"documentation": "https://www.home-assistant.io/integrations/homekit_controller",
|
||||
"iot_class": "local_push",
|
||||
"loggers": ["aiohomekit", "commentjson"],
|
||||
"requirements": ["aiohomekit==3.0.5"],
|
||||
"requirements": ["aiohomekit==3.0.6"],
|
||||
"zeroconf": ["_hap._tcp.local.", "_hap._udp.local."]
|
||||
}
|
||||
|
|
|
@ -159,6 +159,7 @@ class HomeKitTelevision(HomeKitEntity, MediaPlayerEntity):
|
|||
characteristics={CharacteristicsTypes.IDENTIFIER: active_identifier},
|
||||
parent_service=this_tv,
|
||||
)
|
||||
assert input_source
|
||||
char = input_source[CharacteristicsTypes.CONFIGURED_NAME]
|
||||
return char.value
|
||||
|
||||
|
|
|
@ -667,6 +667,7 @@ async def async_setup_entry(
|
|||
accessory_info = accessory.services.first(
|
||||
service_type=ServicesTypes.ACCESSORY_INFORMATION
|
||||
)
|
||||
assert accessory_info
|
||||
info = {"aid": accessory.aid, "iid": accessory_info.iid}
|
||||
entity = RSSISensor(conn, info)
|
||||
conn.async_migrate_unique_id(
|
||||
|
|
|
@ -255,7 +255,7 @@ aioguardian==2022.07.0
|
|||
aioharmony==0.2.10
|
||||
|
||||
# homeassistant.components.homekit_controller
|
||||
aiohomekit==3.0.5
|
||||
aiohomekit==3.0.6
|
||||
|
||||
# homeassistant.components.emulated_hue
|
||||
# homeassistant.components.http
|
||||
|
|
|
@ -233,7 +233,7 @@ aioguardian==2022.07.0
|
|||
aioharmony==0.2.10
|
||||
|
||||
# homeassistant.components.homekit_controller
|
||||
aiohomekit==3.0.5
|
||||
aiohomekit==3.0.6
|
||||
|
||||
# homeassistant.components.emulated_hue
|
||||
# homeassistant.components.http
|
||||
|
|
Loading…
Reference in New Issue