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:
parent
d141122008
commit
c1043ada22
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue