mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Remove logo & icon from manifest (#35410)
This commit is contained in:
parent
799cdbe64d
commit
4395fe9298
@ -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."""
|
||||
|
@ -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
|
||||
}
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user