Skip to content

Commit

Permalink
Remove keep modbus open requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
WillCodeForCats committed Feb 15, 2024
1 parent 981aa9d commit 1254703
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions custom_components/solaredge_modbus_multi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,6 @@ def __init__(
)
self._hub = hub

if scan_interval < 10 and not self._hub.keep_modbus_open:
_LOGGER.warning("Polling frequency < 10, requiring keep modbus open.")
self._hub.keep_modbus_open = True

async def _async_update_data(self):
try:
while self._hub.has_write:
Expand Down

0 comments on commit 1254703

Please sign in to comment.