Don't spam the log if the entity lookup fails for sensors

This commit is contained in:
Dermot Duffy
2022-06-19 00:36:26 +00:00
parent 205745c784
commit d25604414c
+1 -3
View File
@@ -688,9 +688,7 @@ export class FrigateCard extends LitElement {
if (config.camera_entity) {
try {
entity = await getExtendedEntity(this._hass, config.camera_entity, cache);
} catch (e) {
console.error(e);
}
} catch (e) {}
}
if (!config.frigate.camera_name && entity) {