eyalcha / read_your_meter

Home Assistant sensor to read water meter
Apache License 2.0
37 stars 2 forks source link

After HAAS update to core-2021.6.5 read_your_meter stops to load #5

Open maltyx opened 3 years ago

maltyx commented 3 years ago

Version of the custom_component

Configuration


Add your configs here.

Describe the bug

After HAAS update to core-2021.6.5 the Integration "read_your_meter " stops to load with the following notification - 2021-06-20 19:26:23 ERROR (SyncWorker_3) [homeassistant.loader] The custom integration 'read_your_meter' does not have a valid version key (None) in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details

The version key is required from Home Assistant version 2021.6

Debug log

2021-06-20 19:26:23 ERROR (SyncWorker_3) [homeassistant.loader] The custom integration 'read_your_meter' does not have a valid version key (None) in the manifest file and was blocked from loading. See https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions for more details

Add your logs here.

M1K3SD1 commented 3 years ago

Same here, also was this component was removed from HACS? I was sure it was there...

maltyx commented 2 years ago

Well, I slightly updated the manifest.json file to meet ne HA requirements. Made set up as custom_component - and now it works again. manifest.json { "domain": "read_your_meter", "name": "Read Your Meter", "documentation": "https://github.com/eyalcha/read_your_meter/", "dependencies": [], "codeowners": ["@eyalcha"], "requirements": ["selenium", "beautifulsoup4"], "homeassistant": "0.106.0", "version": "1.0.11", "updater": { "version": "1.0.11", "releaseNotes": "-- Blah, blah", "files": [ "__init__.py", "client.py", "const.py", "sensor.py", "utils.py" ] } }