1
mirror of https://github.com/home-assistant/core synced 2024-07-27 18:58:57 +02:00

Add hassfest URL validation to documentation link (#31143)

This commit is contained in:
Franck Nijhof 2020-01-26 21:32:20 +01:00 committed by GitHub
parent 4311b1ae65
commit aa390efd69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,7 @@
"domain": "soma",
"name": "Soma Connect",
"config_flow": true,
"documentation": "",
"documentation": "https://www.home-assistant.io/integrations/soma",
"dependencies": [],
"codeowners": ["@ratsept"],
"requirements": ["pysoma==0.0.10"]

View File

@ -23,7 +23,9 @@ MANIFEST_SCHEMA = vol.Schema(
vol.All([vol.All(vol.Schema({}, extra=vol.ALLOW_EXTRA), vol.Length(min=1))])
),
vol.Optional("homekit"): vol.Schema({vol.Optional("models"): [str]}),
vol.Required("documentation"): str,
vol.Required(
"documentation"
): vol.Url(), # pylint: disable=no-value-for-parameter
vol.Optional("quality_scale"): vol.In(SUPPORTED_QUALITY_SCALES),
vol.Required("requirements"): [str],
vol.Required("dependencies"): [str],