Add storage for cacheable homekit entity maps. (#23191)

This commit is contained in:
Jc2k
2019-04-18 16:55:34 +01:00
committed by Paulus Schoutsen
parent f57191e8dd
commit 4ac9a2e9de
9 changed files with 373 additions and 29 deletions

View File

@@ -152,7 +152,7 @@ class HomekitControllerFlowHandler(config_entries.ConfigFlow):
"HomeKit info %s: c# incremented, refreshing entities",
hkid)
self.hass.async_create_task(
conn.async_config_num_changed(config_num))
conn.async_refresh_entity_map(config_num))
return self.async_abort(reason='already_configured')
old_pairings = await self.hass.async_add_executor_job(