Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'version' key missing in the manifest #374

Closed
chemelli74 opened this issue Feb 10, 2021 · 5 comments
Closed

'version' key missing in the manifest #374

chemelli74 opened this issue Feb 10, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@chemelli74
Copy link

Current dev build of HA shows this warning:

2021-02-10 09:31:51 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'sonoff'. This will not be allowed in a future version of Home Assistant. Please report this to the maintainer of 'sonoff'
Should be easy to fix ;-)

Thank you,

Simone

@kierenblack
Copy link

I hope this is fixed soon before HA makes it compulsary.

@Verguldebarman
Copy link

More info can be found here: https://www.home-assistant.io/blog/2021/03/03/release-20213/#breaking-changes

see Custom integrations: Version warning:

Custom integrations now require a version key in their manifest file, this also means that all custom integrations now require a manifest file.

If you are using a legacy custom integration like custom_components/awesome.py this now needs to move to custom_components/awesome/init.py so you can add custom_components/awesome/manifest.json to it.

For more information about integration, manifests have a look here: https://developers.home-assistant.io/docs/creating_integration_manifest

For now, this will create a warning on startup. But this will eventually be blocked from loading if it’s missing a version in the manifest.

@AlexxIT
Copy link
Owner

AlexxIT commented Mar 10, 2021

Fixed in latest release

@AlexxIT AlexxIT closed this as completed Mar 10, 2021
@Ghostbuster64
Copy link

Ghostbuster64 commented Jul 21, 2021

STILL NOT FIXED!
" ERROR (SyncWorker_1) [homeassistant.loader] The custom integration 'sonoff' 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"
Home Assistant version 2021.7.3

@chemelli74
Copy link
Author

Please check my reply in the issue you opened, #548

Simone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants