Allow disabling integrations in manifest, block uuid package being installed and disable ezviz (#38444)
This commit is contained in:
1 parent
eaac00acfc
commit
2a9da208d4
11 files changed
+40
-5
No files matched your search
@@ -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,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@@ -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."""
|
||||
|
||||
Reference in new issue
Block a user