diff --git a/edlclient/Library/Modules/xiaomi.py b/edlclient/Library/Modules/xiaomi.py index cfad5e2..7c3a221 100644 --- a/edlclient/Library/Modules/xiaomi.py +++ b/edlclient/Library/Modules/xiaomi.py @@ -42,8 +42,6 @@ class xiaomi(metaclass=LogBase): if rsp.resp: rsp = self.fh.xmlsend(self.xiaomi_authdata) if rsp.resp: - if "value" in rsp.resp: - if rsp.resp["value"] == "ACK": - if 'authenticated' in rsp.log[0].lower() and 'true' in rsp.log[0].lower(): - return True + if 'authenticated' in rsp.log[0].lower(): + return True return False