From acfb68e8df839bad3b6cdd22f80782cff9140700 Mon Sep 17 00:00:00 2001 From: Tijs Verkoyen Date: Fri, 13 Jan 2023 13:07:37 +0100 Subject: [PATCH 1/2] Trigger state write --- custom_components/fusion_solar/fusion_solar/power_entity.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_components/fusion_solar/fusion_solar/power_entity.py b/custom_components/fusion_solar/fusion_solar/power_entity.py index 6a75d2d..5839433 100644 --- a/custom_components/fusion_solar/fusion_solar/power_entity.py +++ b/custom_components/fusion_solar/fusion_solar/power_entity.py @@ -72,6 +72,8 @@ def _handle_coordinator_update(self): else: self._state = float(self.coordinator.data[self._data_name][self._attribute]) + self.async_write_ha_state() + class FusionSolarPowerEntityRealtime(FusionSolarPowerEntity): pass From 5181ff78a5ebedf07c83625731a4eee903a65e43 Mon Sep 17 00:00:00 2001 From: Tijs Verkoyen Date: Fri, 13 Jan 2023 13:08:45 +0100 Subject: [PATCH 2/2] Bump version --- custom_components/fusion_solar/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/fusion_solar/manifest.json b/custom_components/fusion_solar/manifest.json index 32b4292..c4f0a11 100644 --- a/custom_components/fusion_solar/manifest.json +++ b/custom_components/fusion_solar/manifest.json @@ -1,7 +1,7 @@ { "domain": "fusion_solar", "name": "FusionSolar", - "version": "2.3.0", + "version": "2.3.1", "integration_type": "hub", "documentation": "https://github.com/tijsverkoyen/HomeAssistant-FusionSolar", "issue_tracker": "https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/issues",