Fix default configuration.

This commit is contained in:
Dermot Duffy
2022-01-14 21:31:16 -08:00
parent 63995e2e50
commit 68dffdf69d
+3 -3
View File
@@ -210,11 +210,11 @@ export class FrigateCard extends LitElement {
): FrigateCardConfig {
const cameraEntity = entities.find((element) => element.startsWith('camera.'));
return {
frigate: {
camera: {
cameras: [
{
camera_entity: cameraEntity,
},
},
],
// Need to use 'as unknown' to convince Typescript that this really isn't a
// mistake, despite the miniscule size of the configuration vs the full type
// description.