Random hassfest fixes (#23314)

This commit is contained in:
Paulus Schoutsen authored and Martin Hjelmare committed 2019-04-23 08:34:36 +02:00
1 parent ddb5ff3b71
commit 00d26b3049
3 files changed
+9 -7

No files matched your search

+1 -1
View File
@@ -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