mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 19:25:12 +02:00
Fix schema typing on async_register_entity_service (#87250)
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user