From 7580d37dc7b92c3d1b370d067551048accfd93b4 Mon Sep 17 00:00:00 2001 From: manuveli Date: Sat, 18 Apr 2026 22:05:12 +0200 Subject: [PATCH] Use authenticated brands proxy for update entity pictures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `entity_picture` on HACS Update entities hardcoded the legacy CDN URL `https://brands.home-assistant.io/_/{domain}/icon.png`. That CDN no longer accepts new custom-integration submissions after the brands-proxy API arrived in HA 2026.3, so Update entities for custom integrations that ship inline `brand/` assets show broken pictures. Switch to `/api/brands/integration/{domain}/icon.png` — a path served by HA's local brands proxy, which resolves both core integrations (via the upstream CDN with stale-while-revalidate) and custom integrations (via the inline asset). The HA frontend's `addBrandsAuth` helper appends the access token client-side when rendering the URL. Snapshots regenerated with `pytest --snapshot-update`. Relates to hacs/integration#5171, hacs/integration#5223 Co-Authored-By: Claude Opus 4.7 --- custom_components/hacs/update.py | 2 +- .../appdaemon-basic/test_discard_invalid_repo_data.json | 2 +- .../appdaemon-basic/test_download_repository.json | 2 +- .../appdaemon-basic/test_remove_repository_post.json | 2 +- .../appdaemon-basic/test_remove_repository_pre.json | 2 +- .../appdaemon-basic/test_update_repository_entity.json | 2 +- .../appdaemon-basic/test_update_repository_websocket.json | 2 +- .../integration-basic/test_discard_invalid_repo_data.json | 2 +- .../integration-basic/test_download_repository.json | 4 ++-- .../integration-basic/test_remove_repository_post.json | 2 +- .../integration-basic/test_remove_repository_pre.json | 2 +- .../integration-basic/test_switch/entity_states.json | 4 ++-- .../integration-basic/test_update_entity_state.json | 4 ++-- .../integration-basic/test_update_repository_entity.json | 4 ++-- .../integration-basic/test_update_repository_websocket.json | 2 +- .../plugin-basic/test_discard_invalid_repo_data.json | 2 +- .../hacs-test-org/plugin-basic/test_download_repository.json | 2 +- .../plugin-basic/test_remove_repository_post.json | 2 +- .../plugin-basic/test_remove_repository_pre.json | 2 +- .../plugin-basic/test_update_repository_entity.json | 2 +- .../plugin-basic/test_update_repository_websocket.json | 2 +- .../python_script-basic/test_discard_invalid_repo_data.json | 2 +- .../python_script-basic/test_download_repository.json | 2 +- .../python_script-basic/test_remove_repository_post.json | 2 +- .../python_script-basic/test_remove_repository_pre.json | 2 +- .../python_script-basic/test_update_repository_entity.json | 2 +- .../python_script-basic/test_update_repository_websocket.json | 2 +- .../template-basic/test_discard_invalid_repo_data.json | 2 +- .../template-basic/test_download_repository.json | 2 +- .../template-basic/test_remove_repository_post.json | 2 +- .../template-basic/test_remove_repository_pre.json | 2 +- .../template-basic/test_update_repository_entity.json | 2 +- .../template-basic/test_update_repository_websocket.json | 2 +- .../theme-basic/test_discard_invalid_repo_data.json | 2 +- .../hacs-test-org/theme-basic/test_download_repository.json | 2 +- .../theme-basic/test_remove_repository_post.json | 2 +- .../hacs-test-org/theme-basic/test_remove_repository_pre.json | 2 +- .../theme-basic/test_update_repository_entity.json | 2 +- .../theme-basic/test_update_repository_websocket.json | 2 +- tests/snapshots/test_integration_setup.json | 2 +- 40 files changed, 44 insertions(+), 44 deletions(-) diff --git a/custom_components/hacs/update.py b/custom_components/hacs/update.py index ec4014302db..183e03d7239 100644 --- a/custom_components/hacs/update.py +++ b/custom_components/hacs/update.py @@ -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.""" diff --git a/tests/snapshots/hacs-test-org/appdaemon-basic/test_discard_invalid_repo_data.json b/tests/snapshots/hacs-test-org/appdaemon-basic/test_discard_invalid_repo_data.json index b3b68343939..9e052bd6d22 100644 --- a/tests/snapshots/hacs-test-org/appdaemon-basic/test_discard_invalid_repo_data.json +++ b/tests/snapshots/hacs-test-org/appdaemon-basic/test_discard_invalid_repo_data.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/appdaemon-basic/test_download_repository.json b/tests/snapshots/hacs-test-org/appdaemon-basic/test_download_repository.json index 0022afb8944..fdf6a4ab9a4 100644 --- a/tests/snapshots/hacs-test-org/appdaemon-basic/test_download_repository.json +++ b/tests/snapshots/hacs-test-org/appdaemon-basic/test_download_repository.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/appdaemon-basic/test_remove_repository_post.json b/tests/snapshots/hacs-test-org/appdaemon-basic/test_remove_repository_post.json index 1a7a2d72f3a..9baea38fecf 100644 --- a/tests/snapshots/hacs-test-org/appdaemon-basic/test_remove_repository_post.json +++ b/tests/snapshots/hacs-test-org/appdaemon-basic/test_remove_repository_post.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/appdaemon-basic/test_remove_repository_pre.json b/tests/snapshots/hacs-test-org/appdaemon-basic/test_remove_repository_pre.json index bb92445ac99..ee4cdd14a29 100644 --- a/tests/snapshots/hacs-test-org/appdaemon-basic/test_remove_repository_pre.json +++ b/tests/snapshots/hacs-test-org/appdaemon-basic/test_remove_repository_pre.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/appdaemon-basic/test_update_repository_entity.json b/tests/snapshots/hacs-test-org/appdaemon-basic/test_update_repository_entity.json index c5c7197a73d..a552b983ed6 100644 --- a/tests/snapshots/hacs-test-org/appdaemon-basic/test_update_repository_entity.json +++ b/tests/snapshots/hacs-test-org/appdaemon-basic/test_update_repository_entity.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/appdaemon-basic/test_update_repository_websocket.json b/tests/snapshots/hacs-test-org/appdaemon-basic/test_update_repository_websocket.json index 4cb3d707c37..df3661f702e 100644 --- a/tests/snapshots/hacs-test-org/appdaemon-basic/test_update_repository_websocket.json +++ b/tests/snapshots/hacs-test-org/appdaemon-basic/test_update_repository_websocket.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/integration-basic/test_discard_invalid_repo_data.json b/tests/snapshots/hacs-test-org/integration-basic/test_discard_invalid_repo_data.json index a94edadc001..c4475cffcd2 100644 --- a/tests/snapshots/hacs-test-org/integration-basic/test_discard_invalid_repo_data.json +++ b/tests/snapshots/hacs-test-org/integration-basic/test_discard_invalid_repo_data.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/integration-basic/test_download_repository.json b/tests/snapshots/hacs-test-org/integration-basic/test_download_repository.json index 93c55339181..10b3ed8730b 100644 --- a/tests/snapshots/hacs-test-org/integration-basic/test_download_repository.json +++ b/tests/snapshots/hacs-test-org/integration-basic/test_download_repository.json @@ -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", @@ -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", diff --git a/tests/snapshots/hacs-test-org/integration-basic/test_remove_repository_post.json b/tests/snapshots/hacs-test-org/integration-basic/test_remove_repository_post.json index 1a7a2d72f3a..9baea38fecf 100644 --- a/tests/snapshots/hacs-test-org/integration-basic/test_remove_repository_post.json +++ b/tests/snapshots/hacs-test-org/integration-basic/test_remove_repository_post.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/integration-basic/test_remove_repository_pre.json b/tests/snapshots/hacs-test-org/integration-basic/test_remove_repository_pre.json index 4b141876b0d..8bad26380b9 100644 --- a/tests/snapshots/hacs-test-org/integration-basic/test_remove_repository_pre.json +++ b/tests/snapshots/hacs-test-org/integration-basic/test_remove_repository_pre.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/integration-basic/test_switch/entity_states.json b/tests/snapshots/hacs-test-org/integration-basic/test_switch/entity_states.json index 5a6694b2dfd..0a5c28025b0 100644 --- a/tests/snapshots/hacs-test-org/integration-basic/test_switch/entity_states.json +++ b/tests/snapshots/hacs-test-org/integration-basic/test_switch/entity_states.json @@ -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", @@ -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", diff --git a/tests/snapshots/hacs-test-org/integration-basic/test_update_entity_state.json b/tests/snapshots/hacs-test-org/integration-basic/test_update_entity_state.json index 796672102d0..85cc565a448 100644 --- a/tests/snapshots/hacs-test-org/integration-basic/test_update_entity_state.json +++ b/tests/snapshots/hacs-test-org/integration-basic/test_update_entity_state.json @@ -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", @@ -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", diff --git a/tests/snapshots/hacs-test-org/integration-basic/test_update_repository_entity.json b/tests/snapshots/hacs-test-org/integration-basic/test_update_repository_entity.json index 0e4b5a0be62..fa368c9ea5e 100644 --- a/tests/snapshots/hacs-test-org/integration-basic/test_update_repository_entity.json +++ b/tests/snapshots/hacs-test-org/integration-basic/test_update_repository_entity.json @@ -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", @@ -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", diff --git a/tests/snapshots/hacs-test-org/integration-basic/test_update_repository_websocket.json b/tests/snapshots/hacs-test-org/integration-basic/test_update_repository_websocket.json index 0c77bc565eb..17aa0a8bbea 100644 --- a/tests/snapshots/hacs-test-org/integration-basic/test_update_repository_websocket.json +++ b/tests/snapshots/hacs-test-org/integration-basic/test_update_repository_websocket.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/plugin-basic/test_discard_invalid_repo_data.json b/tests/snapshots/hacs-test-org/plugin-basic/test_discard_invalid_repo_data.json index 1d72347f357..67be5b9ba39 100644 --- a/tests/snapshots/hacs-test-org/plugin-basic/test_discard_invalid_repo_data.json +++ b/tests/snapshots/hacs-test-org/plugin-basic/test_discard_invalid_repo_data.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/plugin-basic/test_download_repository.json b/tests/snapshots/hacs-test-org/plugin-basic/test_download_repository.json index 30d4793938f..6f030ce82b8 100644 --- a/tests/snapshots/hacs-test-org/plugin-basic/test_download_repository.json +++ b/tests/snapshots/hacs-test-org/plugin-basic/test_download_repository.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/plugin-basic/test_remove_repository_post.json b/tests/snapshots/hacs-test-org/plugin-basic/test_remove_repository_post.json index 1a7a2d72f3a..9baea38fecf 100644 --- a/tests/snapshots/hacs-test-org/plugin-basic/test_remove_repository_post.json +++ b/tests/snapshots/hacs-test-org/plugin-basic/test_remove_repository_post.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/plugin-basic/test_remove_repository_pre.json b/tests/snapshots/hacs-test-org/plugin-basic/test_remove_repository_pre.json index 85578cd2a05..4bd0fa2813d 100644 --- a/tests/snapshots/hacs-test-org/plugin-basic/test_remove_repository_pre.json +++ b/tests/snapshots/hacs-test-org/plugin-basic/test_remove_repository_pre.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/plugin-basic/test_update_repository_entity.json b/tests/snapshots/hacs-test-org/plugin-basic/test_update_repository_entity.json index 38fece4f08f..d8cfe575637 100644 --- a/tests/snapshots/hacs-test-org/plugin-basic/test_update_repository_entity.json +++ b/tests/snapshots/hacs-test-org/plugin-basic/test_update_repository_entity.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/plugin-basic/test_update_repository_websocket.json b/tests/snapshots/hacs-test-org/plugin-basic/test_update_repository_websocket.json index 3b2917a17b8..56956d16b92 100644 --- a/tests/snapshots/hacs-test-org/plugin-basic/test_update_repository_websocket.json +++ b/tests/snapshots/hacs-test-org/plugin-basic/test_update_repository_websocket.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/python_script-basic/test_discard_invalid_repo_data.json b/tests/snapshots/hacs-test-org/python_script-basic/test_discard_invalid_repo_data.json index 91286d16ffa..9c847f44faa 100644 --- a/tests/snapshots/hacs-test-org/python_script-basic/test_discard_invalid_repo_data.json +++ b/tests/snapshots/hacs-test-org/python_script-basic/test_discard_invalid_repo_data.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/python_script-basic/test_download_repository.json b/tests/snapshots/hacs-test-org/python_script-basic/test_download_repository.json index 430dd71ab2c..1a8cfe40292 100644 --- a/tests/snapshots/hacs-test-org/python_script-basic/test_download_repository.json +++ b/tests/snapshots/hacs-test-org/python_script-basic/test_download_repository.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/python_script-basic/test_remove_repository_post.json b/tests/snapshots/hacs-test-org/python_script-basic/test_remove_repository_post.json index 1a7a2d72f3a..9baea38fecf 100644 --- a/tests/snapshots/hacs-test-org/python_script-basic/test_remove_repository_post.json +++ b/tests/snapshots/hacs-test-org/python_script-basic/test_remove_repository_post.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/python_script-basic/test_remove_repository_pre.json b/tests/snapshots/hacs-test-org/python_script-basic/test_remove_repository_pre.json index e133cf5f724..70464d30eca 100644 --- a/tests/snapshots/hacs-test-org/python_script-basic/test_remove_repository_pre.json +++ b/tests/snapshots/hacs-test-org/python_script-basic/test_remove_repository_pre.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/python_script-basic/test_update_repository_entity.json b/tests/snapshots/hacs-test-org/python_script-basic/test_update_repository_entity.json index 480b865bd99..f261a0fce7e 100644 --- a/tests/snapshots/hacs-test-org/python_script-basic/test_update_repository_entity.json +++ b/tests/snapshots/hacs-test-org/python_script-basic/test_update_repository_entity.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/python_script-basic/test_update_repository_websocket.json b/tests/snapshots/hacs-test-org/python_script-basic/test_update_repository_websocket.json index 089d87e787f..da1ea8f4ef7 100644 --- a/tests/snapshots/hacs-test-org/python_script-basic/test_update_repository_websocket.json +++ b/tests/snapshots/hacs-test-org/python_script-basic/test_update_repository_websocket.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/template-basic/test_discard_invalid_repo_data.json b/tests/snapshots/hacs-test-org/template-basic/test_discard_invalid_repo_data.json index 99d53594a99..fb82a80e4f6 100644 --- a/tests/snapshots/hacs-test-org/template-basic/test_discard_invalid_repo_data.json +++ b/tests/snapshots/hacs-test-org/template-basic/test_discard_invalid_repo_data.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/template-basic/test_download_repository.json b/tests/snapshots/hacs-test-org/template-basic/test_download_repository.json index 5e91d48e9ea..ab5c416380e 100644 --- a/tests/snapshots/hacs-test-org/template-basic/test_download_repository.json +++ b/tests/snapshots/hacs-test-org/template-basic/test_download_repository.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/template-basic/test_remove_repository_post.json b/tests/snapshots/hacs-test-org/template-basic/test_remove_repository_post.json index 1a7a2d72f3a..9baea38fecf 100644 --- a/tests/snapshots/hacs-test-org/template-basic/test_remove_repository_post.json +++ b/tests/snapshots/hacs-test-org/template-basic/test_remove_repository_post.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/template-basic/test_remove_repository_pre.json b/tests/snapshots/hacs-test-org/template-basic/test_remove_repository_pre.json index 578193046bb..0180c2b5962 100644 --- a/tests/snapshots/hacs-test-org/template-basic/test_remove_repository_pre.json +++ b/tests/snapshots/hacs-test-org/template-basic/test_remove_repository_pre.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/template-basic/test_update_repository_entity.json b/tests/snapshots/hacs-test-org/template-basic/test_update_repository_entity.json index e40c08d12bc..3384a17f5d7 100644 --- a/tests/snapshots/hacs-test-org/template-basic/test_update_repository_entity.json +++ b/tests/snapshots/hacs-test-org/template-basic/test_update_repository_entity.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/template-basic/test_update_repository_websocket.json b/tests/snapshots/hacs-test-org/template-basic/test_update_repository_websocket.json index 7f19f7c1569..f3f6527b9cd 100644 --- a/tests/snapshots/hacs-test-org/template-basic/test_update_repository_websocket.json +++ b/tests/snapshots/hacs-test-org/template-basic/test_update_repository_websocket.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/theme-basic/test_discard_invalid_repo_data.json b/tests/snapshots/hacs-test-org/theme-basic/test_discard_invalid_repo_data.json index ad436550c5f..ce230de3e53 100644 --- a/tests/snapshots/hacs-test-org/theme-basic/test_discard_invalid_repo_data.json +++ b/tests/snapshots/hacs-test-org/theme-basic/test_discard_invalid_repo_data.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/theme-basic/test_download_repository.json b/tests/snapshots/hacs-test-org/theme-basic/test_download_repository.json index acc2d0da5e1..3b8214191d9 100644 --- a/tests/snapshots/hacs-test-org/theme-basic/test_download_repository.json +++ b/tests/snapshots/hacs-test-org/theme-basic/test_download_repository.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/theme-basic/test_remove_repository_post.json b/tests/snapshots/hacs-test-org/theme-basic/test_remove_repository_post.json index 1a7a2d72f3a..9baea38fecf 100644 --- a/tests/snapshots/hacs-test-org/theme-basic/test_remove_repository_post.json +++ b/tests/snapshots/hacs-test-org/theme-basic/test_remove_repository_post.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/theme-basic/test_remove_repository_pre.json b/tests/snapshots/hacs-test-org/theme-basic/test_remove_repository_pre.json index b1ade9ce808..37e7f7545c7 100644 --- a/tests/snapshots/hacs-test-org/theme-basic/test_remove_repository_pre.json +++ b/tests/snapshots/hacs-test-org/theme-basic/test_remove_repository_pre.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/theme-basic/test_update_repository_entity.json b/tests/snapshots/hacs-test-org/theme-basic/test_update_repository_entity.json index 642e4076932..c5183fb67fb 100644 --- a/tests/snapshots/hacs-test-org/theme-basic/test_update_repository_entity.json +++ b/tests/snapshots/hacs-test-org/theme-basic/test_update_repository_entity.json @@ -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", diff --git a/tests/snapshots/hacs-test-org/theme-basic/test_update_repository_websocket.json b/tests/snapshots/hacs-test-org/theme-basic/test_update_repository_websocket.json index 05a8358ce09..28487048ccd 100644 --- a/tests/snapshots/hacs-test-org/theme-basic/test_update_repository_websocket.json +++ b/tests/snapshots/hacs-test-org/theme-basic/test_update_repository_websocket.json @@ -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", diff --git a/tests/snapshots/test_integration_setup.json b/tests/snapshots/test_integration_setup.json index efa68d74de3..d6ce918c4b7 100644 --- a/tests/snapshots/test_integration_setup.json +++ b/tests/snapshots/test_integration_setup.json @@ -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",