mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 02:37:08 +00:00
Remove lying comment from service.async_register_entity_service (#125079)
This commit is contained in:
parent
b99dceab74
commit
baa876d4d9
@ -1264,9 +1264,6 @@ def async_register_entity_service(
|
|||||||
"""
|
"""
|
||||||
if schema is None or isinstance(schema, dict):
|
if schema is None or isinstance(schema, dict):
|
||||||
schema = cv.make_entity_service_schema(schema)
|
schema = cv.make_entity_service_schema(schema)
|
||||||
# Do a sanity check to check this is a valid entity service schema,
|
|
||||||
# the check could be extended to require All/Any to have sub schema(s)
|
|
||||||
# with all entity service fields
|
|
||||||
elif not cv.is_entity_service_schema(schema):
|
elif not cv.is_entity_service_schema(schema):
|
||||||
# pylint: disable-next=import-outside-toplevel
|
# pylint: disable-next=import-outside-toplevel
|
||||||
from .frame import report
|
from .frame import report
|
||||||
|
Loading…
x
Reference in New Issue
Block a user