Bump aiohomekit to 1.3.0 (#76841)

This commit is contained in:
Jc2k 2022-08-16 10:34:17 +01:00 committed by GitHub
parent 93630cf1f8
commit a663445f25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 9 deletions

View File

@ -281,11 +281,6 @@ class HomekitControllerFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
existing_entry, data={**existing_entry.data, **updated_ip_port}
)
conn: HKDevice = self.hass.data[KNOWN_DEVICES][hkid]
# When we rediscover the device, let aiohomekit know
# that the device is available and we should not wait
# to retry connecting any longer. reconnect_soon
# will do nothing if the device is already connected
await conn.pairing.reconnect_soon()
if config_num and conn.config_num != config_num:
_LOGGER.debug(
"HomeKit info %s: c# incremented, refreshing entities", hkid

View File

@ -3,7 +3,7 @@
"name": "HomeKit Controller",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/homekit_controller",
"requirements": ["aiohomekit==1.2.11"],
"requirements": ["aiohomekit==1.3.0"],
"zeroconf": ["_hap._tcp.local.", "_hap._udp.local."],
"bluetooth": [{ "manufacturer_id": 76, "manufacturer_data_start": [6] }],
"dependencies": ["bluetooth", "zeroconf"],

View File

@ -168,7 +168,7 @@ aioguardian==2022.07.0
aioharmony==0.2.9
# homeassistant.components.homekit_controller
aiohomekit==1.2.11
aiohomekit==1.3.0
# homeassistant.components.emulated_hue
# homeassistant.components.http

View File

@ -152,7 +152,7 @@ aioguardian==2022.07.0
aioharmony==0.2.9
# homeassistant.components.homekit_controller
aiohomekit==1.2.11
aiohomekit==1.3.0
# homeassistant.components.emulated_hue
# homeassistant.components.http

View File

@ -524,7 +524,6 @@ async def test_discovery_already_configured_update_csharp(hass, controller):
entry.add_to_hass(hass)
connection_mock = AsyncMock()
connection_mock.pairing.connect.reconnect_soon = AsyncMock()
connection_mock.async_notify_config_changed = MagicMock()
hass.data[KNOWN_DEVICES] = {"AA:BB:CC:DD:EE:FF": connection_mock}