From 4e5fc18bda2dbec9f8bbb837585fa3317d935e0d Mon Sep 17 00:00:00 2001 From: Mark Parker Date: Mon, 6 May 2024 14:11:34 +0100 Subject: [PATCH 1/3] fix heating and hotwater buttons not showing if moments exist --- custom_components/wiser/button.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/wiser/button.py b/custom_components/wiser/button.py index 9decd58..628a29a 100644 --- a/custom_components/wiser/button.py +++ b/custom_components/wiser/button.py @@ -36,9 +36,9 @@ async def async_setup_entry(hass: HomeAssistant, config_entry, async_add_entitie if data.wiserhub.moments: _LOGGER.debug("Setting up Moments buttons") - wiser_buttons = [ + wiser_buttons.extend([ WiserMomentsButton(data, moment.id) for moment in data.wiserhub.moments.all - ] + ]) async_add_entities(wiser_buttons, True) From 01472fa90239b32193dd26c2deafa6805c22986b Mon Sep 17 00:00:00 2001 From: Mark Parker Date: Mon, 6 May 2024 14:13:29 +0100 Subject: [PATCH 2/3] v3.4.8 --- README.md | 5 ++++- custom_components/wiser/const.py | 2 +- custom_components/wiser/manifest.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7dee686..9b3557d 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Wiser Home Assistant Integration v3.4.7 +# Wiser Home Assistant Integration v3.4.8 [![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg?style=for-the-badge)](https://github.com/hacs/integration) [![downloads](https://shields.io/github/downloads/asantaga/wiserHomeAssistantPlatform/latest/total?style=for-the-badge)](https://github.com/asantaga/wiserHomeAssistantPlatform) @@ -25,6 +25,9 @@ For more information checkout the AMAZING community thread available on ## Change log +- v3.4.8 + - Fix heating and hotwater boost buttons not created if moments exist + - v3.4.7 - Bump api to v1.5.14 to improve handling of hub connection errors - Fix - improve handling of hub update failures - [#434](https://github.com/asantaga/wiserHomeAssistantPlatform/issues/434) diff --git a/custom_components/wiser/const.py b/custom_components/wiser/const.py index 41314fa..770efdd 100755 --- a/custom_components/wiser/const.py +++ b/custom_components/wiser/const.py @@ -5,7 +5,7 @@ Angelosantagata@gmail.com """ -VERSION = "3.4.7" +VERSION = "3.4.8" DOMAIN = "wiser" DATA_WISER_CONFIG = "wiser_config" URL_BASE = "/wiser" diff --git a/custom_components/wiser/manifest.json b/custom_components/wiser/manifest.json index 2b10763..659de0a 100755 --- a/custom_components/wiser/manifest.json +++ b/custom_components/wiser/manifest.json @@ -18,7 +18,7 @@ "requirements": [ "aioWiserHeatAPI==1.5.14" ], - "version": "3.4.7", + "version": "3.4.8", "zeroconf": [ { "type": "_http._tcp.local.", From 431b93f74ee8229ef35e4e0ff9f22e6cc230b92e Mon Sep 17 00:00:00 2001 From: Mark Parker Date: Mon, 6 May 2024 14:15:33 +0100 Subject: [PATCH 3/3] revert v3.4.8 --- README.md | 5 +---- custom_components/wiser/const.py | 2 +- custom_components/wiser/manifest.json | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9b3557d..7dee686 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Wiser Home Assistant Integration v3.4.8 +# Wiser Home Assistant Integration v3.4.7 [![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg?style=for-the-badge)](https://github.com/hacs/integration) [![downloads](https://shields.io/github/downloads/asantaga/wiserHomeAssistantPlatform/latest/total?style=for-the-badge)](https://github.com/asantaga/wiserHomeAssistantPlatform) @@ -25,9 +25,6 @@ For more information checkout the AMAZING community thread available on ## Change log -- v3.4.8 - - Fix heating and hotwater boost buttons not created if moments exist - - v3.4.7 - Bump api to v1.5.14 to improve handling of hub connection errors - Fix - improve handling of hub update failures - [#434](https://github.com/asantaga/wiserHomeAssistantPlatform/issues/434) diff --git a/custom_components/wiser/const.py b/custom_components/wiser/const.py index 770efdd..41314fa 100755 --- a/custom_components/wiser/const.py +++ b/custom_components/wiser/const.py @@ -5,7 +5,7 @@ Angelosantagata@gmail.com """ -VERSION = "3.4.8" +VERSION = "3.4.7" DOMAIN = "wiser" DATA_WISER_CONFIG = "wiser_config" URL_BASE = "/wiser" diff --git a/custom_components/wiser/manifest.json b/custom_components/wiser/manifest.json index 659de0a..2b10763 100755 --- a/custom_components/wiser/manifest.json +++ b/custom_components/wiser/manifest.json @@ -18,7 +18,7 @@ "requirements": [ "aioWiserHeatAPI==1.5.14" ], - "version": "3.4.8", + "version": "3.4.7", "zeroconf": [ { "type": "_http._tcp.local.",