Don't spam the log if the entity lookup fails for sensors
This commit is contained in:
+1
-3
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user