From d03613d14ec1cc1703b74fd96bff349f30d6feb1 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Sat, 29 Jul 2023 12:18:54 -0700 Subject: [PATCH] fix type --- custom_components/adaptive_lighting/switch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/adaptive_lighting/switch.py b/custom_components/adaptive_lighting/switch.py index 0f857a5e..e176e7dd 100644 --- a/custom_components/adaptive_lighting/switch.py +++ b/custom_components/adaptive_lighting/switch.py @@ -2009,7 +2009,7 @@ class AdaptiveLightingManager: service_data[ATTR_ENTITY_ID] = entity_ids return service_data - switches: dict[AdaptiveSwitch | None, list[str]] = {} + switches: dict[AdaptiveSwitch, list[str]] = {} skipped: list[str] = [] for entity_id in entity_ids: try: