KrzysztofHajdamowicz / home-assistant-vacuum-styj02ym

81 stars 24 forks source link

Please help #49

Open sc16me opened 4 months ago

sc16me commented 4 months ago

Please add compatibility with Python 3.12. Periodically the vacuum cleaner becomes unavailable. A complete reboot of the host helps for a short time. In the logs: Platform error 'vacuum' from integration 'miio2' - No module named 'imp

Entity vacuum.home_vacuum (<class 'custom_components.miio2.vacuum.MiroboVacuum2'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <VacuumEntityFeature.PAUSE|STOP|RETURN_HOME|FAN_SPEED|BATTERY|SEND_COMMAND|LOCATE|STATE|START: 13180>, please report it to the author of the 'miio2' custom integration and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

yiskang commented 4 months ago

Same here, but it is most like related to construct, according to this thread. Someone say upgrading construct works, but some said didn't work.

Elkropac commented 2 months ago

Changing construct==2.10.56 to construct==2.10.70 in manifest.json worked for me

sc16me commented 2 months ago

Changing construct==2.10.56 to construct==2.10.70 in manifest.json worked for me

I just installed Valetudo

Elkropac commented 2 months ago

I have valetudo too, but it sucks on this vacuum (not in good way :) and i have to use old version valetudo. Sending commands over miio works most of the time