Handle removal of accessories/services/chars in homekit_controller (#102179)

This commit is contained in:
J. Nick Koston
2023-10-17 20:49:35 -10:00
committed by GitHub
parent e2e9c84c88
commit c3d1db5db6
11 changed files with 1907 additions and 65 deletions

View File

@@ -26,6 +26,7 @@ from homeassistant.components.homekit_controller.const import (
DOMAIN,
HOMEKIT_ACCESSORY_DISPATCH,
IDENTIFIER_ACCESSORY_ID,
SUBSCRIBE_COOLDOWN,
)
from homeassistant.components.homekit_controller.utils import async_get_controller
from homeassistant.config_entries import ConfigEntry
@@ -238,6 +239,7 @@ async def setup_test_accessories_with_controller(
config_entry.add_to_hass(hass)
await hass.config_entries.async_setup(config_entry.entry_id)
await time_changed(hass, SUBSCRIBE_COOLDOWN)
await hass.async_block_till_done()
return config_entry, pairing