Random hassfest fixes (#23314)
This commit is contained in:
1 parent
ddb5ff3b71
commit
00d26b3049
3 files changed
+9
-7
No files matched your search
@@ -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