Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Aug 10, 2023
1 parent a053355 commit cd1ea5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/frigate/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ def _motion_message_received(self, msg: ReceiveMessage) -> None:

@property
def available(self) -> bool:
"""Signal when frigate loses connection to camera."""
if self.coordinator.data:
data = self.coordinator.data.get(self._cam_name, {}).get("camera_fps", 0)

Expand Down

0 comments on commit cd1ea5e

Please sign in to comment.