Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion custom_components/hacs/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def entity_picture(self) -> str | None:
):
return None

return f"https://brands.home-assistant.io/_/{self.repository.data.domain}/icon.png"
return f"/api/brands/integration/{self.repository.data.domain}/icon.png"

async def async_install(self, version: str | None, backup: bool, **kwargs: Any) -> None:
"""Install an update."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/example/icon.png",
"entity_picture": "/api/brands/integration/example/icon.png",
"friendly_name": "Proxy manifest update",
"in_progress": false,
"installed_version": "1.0.0",
Expand Down Expand Up @@ -126,7 +126,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"initial": {
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/example/icon.png",
"entity_picture": "/api/brands/integration/example/icon.png",
"friendly_name": "Basic integration update",
"in_progress": false,
"installed_version": "1.0.0",
Expand All @@ -48,7 +48,7 @@
"updated": {
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/example/icon.png",
"entity_picture": "/api/brands/integration/example/icon.png",
"friendly_name": "Basic integration update",
"in_progress": false,
"installed_version": "1.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"initial_state": {
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/example/icon.png",
"entity_picture": "/api/brands/integration/example/icon.png",
"friendly_name": "Basic integration update",
"in_progress": false,
"installed_version": "1.0.0",
Expand All @@ -23,7 +23,7 @@
"updated_state": {
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/example/icon.png",
"entity_picture": "/api/brands/integration/example/icon.png",
"friendly_name": "Basic integration update",
"in_progress": false,
"installed_version": "1.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/example/icon.png",
"entity_picture": "/api/brands/integration/example/icon.png",
"friendly_name": "Proxy manifest update",
"in_progress": false,
"installed_version": "2.0.0",
Expand Down Expand Up @@ -141,7 +141,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/snapshots/test_integration_setup.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"area_id": null,
"attributes": {
"auto_update": false,
"entity_picture": "https://brands.home-assistant.io/_/hacs/icon.png",
"entity_picture": "/api/brands/integration/hacs/icon.png",
"friendly_name": "HACS update",
"in_progress": false,
"installed_version": "0.0.0",
Expand Down