Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Aug 11, 2023
1 parent d73b036 commit a0d1834
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/frigate/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def __init__(
config_entry: ConfigEntry,
cam_name: str,
frigate_client: FrigateApiClient,
frigate_client_id: str,
frigate_client_id: Any | None,
frigate_config: dict[str, Any],
camera_config: dict[str, Any],
) -> None:
Expand Down Expand Up @@ -254,7 +254,7 @@ def device_info(self) -> dict[str, Any]:
def extra_state_attributes(self) -> dict[str, str]:
"""Return entity specific state attributes."""
return {
"client_id": self._client_id,
"client_id": str(self._client_id),
"camera_name": self._cam_name,
"restream_type": self._restream_type,
}
Expand Down

0 comments on commit a0d1834

Please sign in to comment.