Correct type annotation for EntityPlatform.async_register_entity_service (#123054)

Correct type annotation for EntityPlatform.async_register_entity_service

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
This commit is contained in:
Erik Montnemery 2024-08-02 11:58:07 +02:00 committed by Franck Nijhof
parent d141122008
commit c1043ada22
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -985,7 +985,7 @@ class EntityPlatform:
def async_register_entity_service(
self,
name: str,
schema: VolDictType | VolSchemaType | None,
schema: VolDictType | VolSchemaType,
func: str | Callable[..., Any],
required_features: Iterable[int] | None = None,
supports_response: SupportsResponse = SupportsResponse.NONE,