Skip to content

Commit

Permalink
fixes Pho3niX90#76
Browse files Browse the repository at this point in the history
  • Loading branch information
Pho3niX90 committed Oct 4, 2024
1 parent a253363 commit 58166e0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion custom_components/solis_modbus/const.py
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion custom_components/solis_modbus/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
3 changes: 0 additions & 3 deletions custom_components/solis_modbus/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 58166e0

Please sign in to comment.