mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
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
0058d42ca2
commit
449afe9e6f
@ -985,7 +985,7 @@ class EntityPlatform:
|
|||||||
def async_register_entity_service(
|
def async_register_entity_service(
|
||||||
self,
|
self,
|
||||||
name: str,
|
name: str,
|
||||||
schema: VolDictType | VolSchemaType | None,
|
schema: VolDictType | VolSchemaType,
|
||||||
func: str | Callable[..., Any],
|
func: str | Callable[..., Any],
|
||||||
required_features: Iterable[int] | None = None,
|
required_features: Iterable[int] | None = None,
|
||||||
supports_response: SupportsResponse = SupportsResponse.NONE,
|
supports_response: SupportsResponse = SupportsResponse.NONE,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user