mirror of
https://github.com/home-assistant/core.git
synced 2025-08-09 15:45:08 +02:00
Remove logo & icon from manifest (#35410)
This commit is contained in:
@@ -252,16 +252,6 @@ class Integration:
|
|||||||
"""Return Integration Quality Scale."""
|
"""Return Integration Quality Scale."""
|
||||||
return cast(str, self.manifest.get("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
|
@property
|
||||||
def is_built_in(self) -> bool:
|
def is_built_in(self) -> bool:
|
||||||
"""Test if package is a built-in integration."""
|
"""Test if package is a built-in integration."""
|
||||||
|
@@ -54,8 +54,6 @@ MANIFEST_SCHEMA = vol.Schema(
|
|||||||
vol.Optional("dependencies"): [str],
|
vol.Optional("dependencies"): [str],
|
||||||
vol.Optional("after_dependencies"): [str],
|
vol.Optional("after_dependencies"): [str],
|
||||||
vol.Required("codeowners"): [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
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user