mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 04:50:05 +00:00
Random hassfest fixes (#23314)
This commit is contained in:
committed by
Martin Hjelmare
parent
ddb5ff3b71
commit
00d26b3049
@@ -59,7 +59,7 @@ def validate_services(integration: Integration):
|
||||
"""Validate services."""
|
||||
# Find if integration uses services
|
||||
has_services = grep_dir(integration.path, "**/*.py",
|
||||
r"hass\.(services|async_register)")
|
||||
r"hass\.services\.(register|async_register)")
|
||||
|
||||
if not has_services:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user