Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cyr-ius committed May 8, 2024
1 parent b9d8d93 commit a2605b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/bbox/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async def _async_update_data(self) -> dict[str, dict[str, Any]]:
}

@staticmethod
def check_list(obj: dict[str, dict[str, Any]]) -> dict[str, Any]:
def check_list(obj: Any) -> dict[str, Any]:
"""Return element if one only."""
if isinstance(obj, list) and len(obj) == 1:
return obj[0]
Expand Down

0 comments on commit a2605b7

Please sign in to comment.