Add stub services.yaml and make validation mandatory (#23213)

This commit is contained in:
Paulus Schoutsen committed 2019-04-19 17:05:42 -07:00
1 parent f18a49ce97
commit 4433ad0a06
69 files changed
+2 -5

No files matched your search

+2 -5
View File
@@ -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(