xiaomi_cooker icon indicating copy to clipboard operation
xiaomi_cooker copied to clipboard

Home Assistant 2024.2: python 3.12 breaks the integration

Open andige opened this issue 4 months ago • 1 comments

Hi!

Home Assistant 2024.2 unfortunately breaks this integration since it moved to python 3.12 and the "imp" module is deprecated in favour of importlib... :-(

I would love to see an updated version if you find the time :-)

Best regards and thanks for your work!


File "/usr/local/lib/python3.12/site-packages/construct/core.py", line 3, in <module>
    import struct, io, binascii, itertools, collections, pickle, sys, os, tempfile, hashlib, importlib, imp
ModuleNotFoundError: No module named 'imp'

andige avatar Feb 08 '24 21:02 andige