diff --git a/README.md b/README.md index f2b2b63e..cdf38f2f 100644 --- a/README.md +++ b/README.md @@ -2495,7 +2495,7 @@ cameras:
Expand: Using all dependent cameras with birdseye -This example shows events for all other cameras when `birdseye` is selected. This is just a shortcut to naming all other cameras. +This example shows events for all other cameras when `birdseye` is selected. This is just a shortcut for naming all other cameras. ```yaml [...] diff --git a/src/card.ts b/src/card.ts index d56b09f3..33252401 100644 --- a/src/card.ts +++ b/src/card.ts @@ -398,8 +398,8 @@ export class FrigateCard extends LitElement { if ( cameraConfig?.camera_name && (cameraConfig?.camera_name !== CAMERA_BIRDSEYE || - cameraConfig?.dependent_cameras?.length || - cameraConfig?.dependent_cameras_all) + cameraConfig.dependencies.cameras.length || + cameraConfig.dependencies.all_cameras) ) { buttons.push({ icon: 'mdi:filmstrip', @@ -417,8 +417,8 @@ export class FrigateCard extends LitElement { if ( cameraConfig?.camera_name && (cameraConfig?.camera_name !== CAMERA_BIRDSEYE || - cameraConfig?.dependent_cameras?.length || - cameraConfig?.dependent_cameras_all) + cameraConfig?.dependencies.cameras.length || + cameraConfig?.dependencies.all_cameras) ) { buttons.push({ icon: 'mdi:camera',