From 9f2ec5c9068debdefacfa0914c44bd7844fbf8ab Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sun, 14 Nov 2021 21:03:00 +0100 Subject: [PATCH] Upgrade wled to 0.10.0 (#59669) * Upgrade wled to 0.10.0 * DeviceInfo expects a string, not a AwesomeVersion object --- homeassistant/components/wled/manifest.json | 2 +- homeassistant/components/wled/models.py | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/wled/manifest.json b/homeassistant/components/wled/manifest.json index c513f424e08..8c87880ad38 100644 --- a/homeassistant/components/wled/manifest.json +++ b/homeassistant/components/wled/manifest.json @@ -3,7 +3,7 @@ "name": "WLED", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/wled", - "requirements": ["wled==0.9.0"], + "requirements": ["wled==0.10.0"], "zeroconf": ["_wled._tcp.local."], "codeowners": ["@frenck"], "quality_scale": "platinum", diff --git a/homeassistant/components/wled/models.py b/homeassistant/components/wled/models.py index 93b04b9f49b..a71491daf7a 100644 --- a/homeassistant/components/wled/models.py +++ b/homeassistant/components/wled/models.py @@ -19,6 +19,6 @@ class WLEDEntity(CoordinatorEntity): name=self.coordinator.data.info.name, manufacturer=self.coordinator.data.info.brand, model=self.coordinator.data.info.product, - sw_version=self.coordinator.data.info.version, + sw_version=str(self.coordinator.data.info.version), configuration_url=f"http://{self.coordinator.wled.host}", ) diff --git a/requirements_all.txt b/requirements_all.txt index 43f1d7b3e92..52c4f3bf7c9 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -2421,7 +2421,7 @@ wirelesstagpy==0.5.0 withings-api==2.3.2 # homeassistant.components.wled -wled==0.9.0 +wled==0.10.0 # homeassistant.components.wolflink wolf_smartset==0.1.11 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index a84863a4cca..838723cb619 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1416,7 +1416,7 @@ wiffi==1.0.1 withings-api==2.3.2 # homeassistant.components.wled -wled==0.9.0 +wled==0.10.0 # homeassistant.components.wolflink wolf_smartset==0.1.11