Merge pull request #986 from dermotduffy/no-longer-need-extended-for-uniqueid
Remove unnecessary entity fetches
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user