Skip to content

Commit

Permalink
Modified telnet_get_data parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdelprete committed Feb 11, 2024
1 parent 8cda467 commit 76a70f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/4noks_elios4you/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ async def async_get_data(self):
_LOGGER.debug("Elios4you not ready for telnet connection")
raise ConnectionError(f"Elios4you not active on {self._host}:{self._port}")

async def telnet_get_data(cmd, reader, writer):
async def telnet_get_data(self, cmd, reader, writer):
"""Send Telnet Commands and process output."""
try:
cmd = cmd.lower()
Expand Down

0 comments on commit 76a70f2

Please sign in to comment.