Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Aug 11, 2023
1 parent f01dc24 commit 58725de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/frigate/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def available(self) -> bool:
if not self.coordinator.data:
return False

return self.coordinator.data.get(self._cam_name, {}).get("camera_fps", 0) != 0
return self.coordinator.data.get(self._cam_name, {}).get("camera_fps", 0) != "0"

@property
def unique_id(self) -> str:
Expand Down

0 comments on commit 58725de

Please sign in to comment.