nqkdev / home-assistant-vacuum-styj02ym

161 stars 134 forks source link

No 'version' key in the manifest file #31

Open desosav opened 3 years ago

desosav commented 3 years ago

I am getting the following warning after upgrading to homeassistant 2021.3 version No 'version' key in the manifest file for custom integration 'miio2'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'miio2'

rob1303-hub commented 3 years ago

Just in case this doesn't get updated, the HA warning can be addressed by editing the /config/custom_components/miio2/manifest.json file and adding a version line and number.

I added "version": "1.0.0", so my manifest.json file now contains:

{ "domain": "miio2", "name": "Xiaomi miio vacuum STYJ02YM", "version": "1.0.0", "documentation": "", "requirements": [ "construct==2.9.45", "python-miio==0.5.3" ], "dependencies": [], "codeowners": [] }

Hope this helps.

dolohow commented 3 years ago

It's fixed in my PR, awaiting approval https://github.com/nqkdev/home-assistant-vacuum-styj02ym/pull/34