Remove logo & icon from manifest (#35410)

This commit is contained in:
Franck Nijhof 2020-05-10 17:10:44 +02:00 committed by GitHub
parent 799cdbe64d
commit 4395fe9298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 12 deletions

View File

@ -252,16 +252,6 @@ class Integration:
"""Return Integration Quality Scale."""
return cast(str, self.manifest.get("quality_scale"))
@property
def logo(self) -> Optional[str]:
"""Return Integration Logo."""
return cast(str, self.manifest.get("logo"))
@property
def icon(self) -> Optional[str]:
"""Return Integration Icon."""
return cast(str, self.manifest.get("icon"))
@property
def is_built_in(self) -> bool:
"""Test if package is a built-in integration."""

View File

@ -54,8 +54,6 @@ MANIFEST_SCHEMA = vol.Schema(
vol.Optional("dependencies"): [str],
vol.Optional("after_dependencies"): [str],
vol.Required("codeowners"): [str],
vol.Optional("logo"): vol.Url(), # pylint: disable=no-value-for-parameter
vol.Optional("icon"): vol.Url(), # pylint: disable=no-value-for-parameter
}
)