Merge pull request #986 from dermotduffy/no-longer-need-extended-for-uniqueid

Remove unnecessary entity fetches
This commit is contained in:
Dermot Duffy
2023-03-04 13:18:57 -08:00
committed by GitHub
6 changed files with 41 additions and 105 deletions
+2 -1
View File
@@ -187,7 +187,8 @@ export class CameraManager {
camerasConfig.some((config) => hasAutoTriggers(config))
) {
// ... then we need to populate the entity cache by fetching all entities
// from Home Assistant.
// from Home Assistant. Do this once upfront, to avoid each camera doing
// it.
await entityRegistryManager.fetchEntityList(hass);
}