Don't trigger entity sync when Google Assistant gets disabled (#72805)

This commit is contained in:
Paulus Schoutsen
2022-06-01 03:12:54 -07:00
committed by GitHub
parent d8b0376942
commit d57a650290

View File

@@ -220,7 +220,6 @@ class CloudGoogleConfig(AbstractConfig):
sync_entities = True sync_entities = True
elif not self.enabled and self.is_local_sdk_active: elif not self.enabled and self.is_local_sdk_active:
self.async_disable_local_sdk() self.async_disable_local_sdk()
sync_entities = True
self._cur_entity_prefs = prefs.google_entity_configs self._cur_entity_prefs = prefs.google_entity_configs
self._cur_default_expose = prefs.google_default_expose self._cur_default_expose = prefs.google_default_expose