nergal / homeassistant-vacuum-viomi

Integration of a Xiaomi Viomi vacuum to a Home Assistant
MIT License
54 stars 14 forks source link

Component suddenly stoped working after home assistant update to 2022.11.0 #37

Open hjortas opened 1 year ago

hjortas commented 1 year ago

log: Logger: homeassistant.config_entries Source: config_entries.py:809 First occurred: 13:27:21 (1 occurrences) Last logged: 13:27:21

Error occurred loading configuration flow for integration xiaomi_miio: cannot import name 'ROCKROBO_S7_MAXV' from 'miio.vacuum' (/usr/local/lib/python3.10/site-packages/miio/vacuum.py)

I have tried v3 v4 and v4-1 same results.

no other changes

component has worked stable for over a year.

poughkeepsee commented 1 year ago

Same issue, model STY02YM.

hjortas commented 1 year ago

can confirm that this https://github.com/KrzysztofHajdamowicz/home-assistant-vacuum-styj02ym/tree/master/custom_components/miio2 works. seems to be bit of work going on to get this model into main HA integration.

Strixx76 commented 1 year ago

It is due to a dependency mismatch. Change "python-miio==0.5.9" to "python-miio>=0.5.9" in manifest.json and it will work again.

Marcx87 commented 1 year ago

@Strixx76 thank you worked like a charm :) :)