Fix typing for entity_platform.async_register_entity_service (#103777)

This commit is contained in:
Ruslan Sayfutdinov 2023-11-13 19:00:09 +00:00 committed by GitHub
parent f0a455e5c7
commit 1a3475ea60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,