Updated to 0.1.17 and I am still getting the same results. No difference in debug mode.
INFO:msmart.cli:Debug mode active
INFO:msmart.cli:17 - Discovering devices with UDP Broadcast, press CTRL-C to quit...
Traceback (most recent call last):
File "/usr/local/bin/midea-discover", line 8, in <module>
sys.exit(discover())
File "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/msmart/cli.py", line 63, in discover
reply = _security.aes_decrypt(data)
File "/usr/local/lib/python3.8/dist-packages/msmart/security.py", line 26, in aes_decrypt
decrypted = unpad(decrypted, self.blockSize)
File "/usr/local/lib/python3.8/dist-packages/Crypto/Util/Padding.py", line 90, in unpad
raise ValueError("Padding is incorrect.")
ValueError: Padding is incorrect.