mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-01 13:04:28 +02:00
refactoring
This commit is contained in:
parent
b851085f48
commit
91b769481e
4 changed files with 91 additions and 75 deletions
|
@ -37,7 +37,7 @@ class MikrotikAPI:
|
|||
def connect(self):
|
||||
"""Connect to Mikrotik device."""
|
||||
self.error = ""
|
||||
self._connected = False
|
||||
self._connected = None
|
||||
|
||||
kwargs = {
|
||||
"encoding": self._encoding,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue