Fix schema typing on async_register_entity_service (#87250)
This commit is contained in:
parent
91668f8599
commit
b8a1f87073
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ class EntityComponent(Generic[_EntityT]):
|
|||
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: list[int] | None = None,
|
||||
) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue