Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Commit

Permalink
Add stub services.yaml and make validation mandatory (home-assistant#…
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob authored and vagrant committed May 6, 2019
1 parent aefb269 commit fe31356
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions script/hassfest/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,8 @@ def validate_services(integration: Integration):
try:
data = load_yaml(str(integration.path / 'services.yaml'))
except FileNotFoundError:
print(
"Warning: {} registeres services but has no services.yaml".format(
integration.domain))
# integration.add_error(
# 'services', 'Registers services but has no services.yaml')
integration.add_error(
'services', 'Registers services but has no services.yaml')
return
except HomeAssistantError:
integration.add_error(
Expand Down

0 comments on commit fe31356

Please sign in to comment.