diff --git a/custom_components/bbox/coordinator.py b/custom_components/bbox/coordinator.py index c3df6a2..89f54b9 100644 --- a/custom_components/bbox/coordinator.py +++ b/custom_components/bbox/coordinator.py @@ -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]