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