Skip to content

Commit

Permalink
Merge pull request #163 from isra60/master
Browse files Browse the repository at this point in the history
Fix problem with telnet shell of G2H
  • Loading branch information
niceboygithub authored May 10, 2023
2 parents 2788b75 + cf54b17 commit 37e9d97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/aqara_gateway/core/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ def login(self):
self.run_command(password)

self.run_command("stty -echo")
self.read_until(b"/ # ", timeout=10)
self._suffix = "# "


Expand Down Expand Up @@ -251,4 +252,4 @@ def login(self):


class TelnetShellG2HPro(TelnetShellG3):
pass
pass

0 comments on commit 37e9d97

Please sign in to comment.