Allow disabling integrations in manifest, block uuid package being installed and disable ezviz (#38444)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-08-26 10:20:14 +02:00
1 parent eaac00acfc
commit 2a9da208d4
11 files changed
+40 -5

No files matched your search

+1
View File
@@ -54,6 +54,7 @@ MANIFEST_SCHEMA = vol.Schema(
vol.Optional("dependencies"): [str],
vol.Optional("after_dependencies"): [str],
vol.Required("codeowners"): [str],
vol.Optional("disabled"): str,
}
)
+5
View File
@@ -73,6 +73,11 @@ class Integration:
"""Integration domain."""
return self.path.name
@property
def disabled(self) -> Optional[str]:
"""List of disabled."""
return self.manifest.get("disabled")
@property
def requirements(self) -> List[str]:
"""List of requirements."""