mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 08:17:08 +00:00
Fix schema typing on async_register_entity_service (#87250)
This commit is contained in:
parent
91668f8599
commit
b8a1f87073
@ -200,7 +200,7 @@ class EntityComponent(Generic[_EntityT]):
|
|||||||
def async_register_entity_service(
|
def async_register_entity_service(
|
||||||
self,
|
self,
|
||||||
name: str,
|
name: str,
|
||||||
schema: dict[str, Any] | vol.Schema,
|
schema: dict[str | vol.Marker, Any] | vol.Schema,
|
||||||
func: str | Callable[..., Any],
|
func: str | Callable[..., Any],
|
||||||
required_features: list[int] | None = None,
|
required_features: list[int] | None = None,
|
||||||
) -> None:
|
) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user