mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +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(
|
||||
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…
x
Reference in New Issue
Block a user