Correct the selector for frontend.set_theme service (#49952)

This commit is contained in:
Bram Kragten
2021-05-03 06:07:26 +02:00
committed by GitHub
parent 7c7a56f704
commit 8ca6b8394c
2 changed files with 5 additions and 4 deletions

View File

@ -69,7 +69,7 @@ def validate_services(integration: Integration):
has_services = grep_dir(
integration.path,
"**/*.py",
r"(hass\.services\.(register|async_register))|async_register_entity_service",
r"(hass\.services\.(register|async_register))|async_register_entity_service|async_register_admin_service",
)
if not has_services: