From 58166e0cd1c4d8ef0355b24e5c23b214b550b2f6 Mon Sep 17 00:00:00 2001 From: "Shaun J.V.Nieuwenhuizen" <shaunjvn@gmail.com> Date: Fri, 4 Oct 2024 23:48:02 +0200 Subject: [PATCH] fixes #76 --- custom_components/solis_modbus/const.py | 2 +- custom_components/solis_modbus/manifest.json | 2 +- custom_components/solis_modbus/sensor.py | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/custom_components/solis_modbus/const.py b/custom_components/solis_modbus/const.py index db53d95..f5d5a00 100644 --- a/custom_components/solis_modbus/const.py +++ b/custom_components/solis_modbus/const.py @@ -1,6 +1,6 @@ DOMAIN = "solis_modbus" CONTROLLER = "modbus_controller" -VERSION = "1.5.0" +VERSION = "1.5.1" POLL_INTERVAL_SECONDS = 15 MANUFACTURER = "Solis" MODEL = "S6" diff --git a/custom_components/solis_modbus/manifest.json b/custom_components/solis_modbus/manifest.json index d2beeeb..62c9585 100644 --- a/custom_components/solis_modbus/manifest.json +++ b/custom_components/solis_modbus/manifest.json @@ -10,5 +10,5 @@ "issue_tracker": "https://github.com/Pho3niX90/solis_modbus/issues", "quality_scale": "silver", "requirements": ["pymodbus>=3.6.8"], - "version": "1.5.0" + "version": "1.5.1" } diff --git a/custom_components/solis_modbus/sensor.py b/custom_components/solis_modbus/sensor.py index f63fa3d..736d498 100644 --- a/custom_components/solis_modbus/sensor.py +++ b/custom_components/solis_modbus/sensor.py @@ -847,7 +847,6 @@ def update(self): self.schedule_update_ha_state() except ValueError as e: - _LOGGER.error(e) self._state = None self._attr_available = False @@ -929,8 +928,6 @@ def update(self): self.schedule_update_ha_state() except ValueError as e: - _LOGGER.error(e) - # Handle communication or reading errors self._state = None self._attr_available = False