Skip to content

Commit

Permalink
Removed unused functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
CJNE committed Aug 27, 2021
1 parent da26981 commit 2eb666c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions custom_components/sunspec/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,6 @@ def close(self):
client = self.get_client()
client.close()

def reconnect(self):
_LOGGER.debug("Client reconnecting")
client = self.get_client()
client.connect()

def modbus_connect(self):
_LOGGER.debug(
f"Client connect to IP {self._host} port {self._port} slave id {self._slave_id} using timeout {TIMEOUT}"
Expand Down

0 comments on commit 2eb666c

Please sign in to comment.