homeassistant-roborock
homeassistant-roborock copied to clipboard
Python 3.12 missing imp module
Latest version of HA 2024.02 introduced python 3.12 thus roborock integration cannot start. HA shows clearly:
Unable to import component: No module named 'imp'
Can't see newer version of roborock on hacs. Using latest one.
I created an issue on the python-roborock project : ModuleNotFoundError: No module named 'imp'
You can edit the file : custom_components/roborock/manifest.json
and add the latest construct
version to "requirements"
to force it also for python-roborock and restart HA . you should have something like that
"requirements": [
"python-roborock==0.36.0",
"ical==6.1.0",
"dacite==1.8.0",
"construct==2.10.70"
],
Hi, I have edited file and still there is error
hi, i have also problem since update HA 2024.xxx Roborock i mus deaktivate , if i not this doing HA restarts again and again. screenshort with erro message for your information.
It was pure coincidence, I wanted to set everything up again because a larger Linux system update was running almost at the same time, which also had something from Python and it happened exactly after restarting my PC and starting HA. Somehow strange
Sorry if my English is not fine, but I also used the google translator