From 1a3475ea606e8ccec1e98e08dec403e2b621a234 Mon Sep 17 00:00:00 2001 From: Ruslan Sayfutdinov Date: Mon, 13 Nov 2023 19:00:09 +0000 Subject: [PATCH] Fix typing for entity_platform.async_register_entity_service (#103777) --- homeassistant/helpers/entity_platform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/helpers/entity_platform.py b/homeassistant/helpers/entity_platform.py index 388c00bd177..2fc82567739 100644 --- a/homeassistant/helpers/entity_platform.py +++ b/homeassistant/helpers/entity_platform.py @@ -813,7 +813,7 @@ class EntityPlatform: def async_register_entity_service( self, name: str, - schema: dict[str, Any] | vol.Schema, + schema: dict[str | vol.Marker, Any] | vol.Schema, func: str | Callable[..., Any], required_features: Iterable[int] | None = None, supports_response: SupportsResponse = SupportsResponse.NONE,