Remove lying comment from service.async_register_entity_service (#125079)

pull/125087/head
Erik Montnemery 2024-09-02 15:18:02 +02:00 committed by GitHub
parent b99dceab74
commit baa876d4d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 3 deletions

View File

@ -1264,9 +1264,6 @@ def async_register_entity_service(
"""
if schema is None or isinstance(schema, dict):
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):
# pylint: disable-next=import-outside-toplevel
from .frame import report