1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-08 17:49:37 +01:00

Update release URL in WLED (#157801)

This commit is contained in:
Kamil Breguła
2025-12-03 05:55:03 +01:00
committed by GitHub
parent 639a96f8cb
commit 315ea9dc76
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ class WLEDUpdateEntity(WLEDEntity, UpdateEntity):
"""URL to the full release notes of the latest version available."""
if (version := self.latest_version) is None:
return None
return f"https://github.com/Aircoookie/WLED/releases/tag/v{version}"
return f"https://github.com/wled/WLED/releases/tag/v{version}"
@wled_exception_handler
async def async_install(
+2 -2
View File
@@ -54,7 +54,7 @@ async def test_update_available(
assert state.attributes[ATTR_RELEASE_SUMMARY] is None
assert (
state.attributes[ATTR_RELEASE_URL]
== "https://github.com/Aircoookie/WLED/releases/tag/v0.99.0"
== "https://github.com/wled/WLED/releases/tag/v0.99.0"
)
assert (
state.attributes[ATTR_SUPPORTED_FEATURES]
@@ -118,7 +118,7 @@ async def test_no_update_available(
assert state.attributes[ATTR_RELEASE_SUMMARY] is None
assert (
state.attributes[ATTR_RELEASE_URL]
== "https://github.com/Aircoookie/WLED/releases/tag/v0.99.0"
== "https://github.com/wled/WLED/releases/tag/v0.99.0"
)
assert (
state.attributes[ATTR_SUPPORTED_FEATURES]