mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Fix typing for entity_platform.async_register_entity_service (#103777)
This commit is contained in:
parent
f0a455e5c7
commit
1a3475ea60
@ -813,7 +813,7 @@ class EntityPlatform:
|
||||
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: Iterable[int] | None = None,
|
||||
supports_response: SupportsResponse = SupportsResponse.NONE,
|
||||
|
Loading…
x
Reference in New Issue
Block a user