1
0
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:
Paulus Schoutsen
2019-04-22 23:34:37 -07:00
committed by Martin Hjelmare
parent ddb5ff3b71
commit 00d26b3049
3 changed files with 9 additions and 7 deletions

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