syssi / xiaomi_cooker

Xiaomi Mi Electric Rice Cooker integration for Home Assistant
Apache License 2.0
141 stars 37 forks source link

Add manifest.json with most recent python-miio version #13

Closed polyphia closed 4 years ago

polyphia commented 4 years ago

Have been trying to understand why my hassio restarts took over 5mins and I narrowed it down to this component !

Every time I am restarting the python-miio command runs twice (before server shuts down and when it's starting), and this adds alone about 3mins to the restart time of my instance !

/usr/local/bin/python3 -m pip install python-miio==0.4.7 --no-cache-dir --upgrade --constraint /usr/src/homeassistant/homeassistant/package_constraints.txt --find-links https://wheels.home-assistant.io/alpine-3.10/armv7/ --prefer-binary

Isn't there a way to integrate this component without having to go through the python-miio upgrade routine every time? Otherwise my only option will be moving this to a second HA instance to offload the restart delay .

Thanks

syssi commented 4 years ago

Fixed.

polyphia commented 4 years ago

That was ridiculously simple :) Ty