mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Add Integration Quality Scale to manifest (#30547)
This commit is contained in:
committed by
Paulus Schoutsen
parent
a4c830b5e4
commit
e18426051b
@@ -6,6 +6,13 @@ from voluptuous.humanize import humanize_error
|
||||
|
||||
from .model import Integration
|
||||
|
||||
SUPPORTED_QUALITY_SCALES = [
|
||||
"gold",
|
||||
"internal",
|
||||
"platinum",
|
||||
"silver",
|
||||
]
|
||||
|
||||
MANIFEST_SCHEMA = vol.Schema(
|
||||
{
|
||||
vol.Required("domain"): str,
|
||||
@@ -17,6 +24,7 @@ MANIFEST_SCHEMA = vol.Schema(
|
||||
),
|
||||
vol.Optional("homekit"): vol.Schema({vol.Optional("models"): [str]}),
|
||||
vol.Required("documentation"): str,
|
||||
vol.Optional("quality_scale"): vol.In(SUPPORTED_QUALITY_SCALES),
|
||||
vol.Required("requirements"): [str],
|
||||
vol.Required("dependencies"): [str],
|
||||
vol.Optional("after_dependencies"): [str],
|
||||
|
||||
Reference in New Issue
Block a user