From a2605b76b60ea575115e767f15d4c60da95bbd86 Mon Sep 17 00:00:00 2001 From: cyr-ius Date: Wed, 8 May 2024 11:57:11 +0200 Subject: [PATCH] Fix lint --- custom_components/bbox/coordinator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]