Merge pull request #698 from dermotduffy/log-spam
Don't spam the log if the sensor entity lookup fails
This commit is contained in:
+1
-3
@@ -688,9 +688,7 @@ export class FrigateCard extends LitElement {
|
|||||||
if (config.camera_entity) {
|
if (config.camera_entity) {
|
||||||
try {
|
try {
|
||||||
entity = await getExtendedEntity(this._hass, config.camera_entity, cache);
|
entity = await getExtendedEntity(this._hass, config.camera_entity, cache);
|
||||||
} catch (e) {
|
} catch (e) {}
|
||||||
console.error(e);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!config.frigate.camera_name && entity) {
|
if (!config.frigate.camera_name && entity) {
|
||||||
|
|||||||
Reference in New Issue
Block a user