core icon indicating copy to clipboard operation
core copied to clipboard

Custom integration 'sems ' does not have a version key in the manifest file

Open tuxick opened this issue 1 year ago • 6 comments

The problem

Since upgrading to 2024.8.2 hass refuses to load the "sems" integration, error is: The custom integration 'sems' does not have a version key in the manifest file and was blocked from loading.

custom_components/sems/manifest.json contains { "domain": "sems", "name": "GoodWe SEMS API", "config_flow": true, "documentation": "https://github.com/TimSoethout/goodwe-sems-home-assistant", "issue_tracker": "https://github.com/TimSoethout/goodwe-sems-home-assistant/issues", "iot_class": "cloud_polling", "requirements": [], "dependencies": [], "codeowners": ["@TimSoethout"], "version": "5.0.0" }

What version of Home Assistant Core has the issue?

core-2024.8.2

What was the last working version of Home Assistant Core?

core-2042.3.x

What type of installation are you running?

Home Assistant Core

Integration causing the issue

GoodWe SEMS API

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

tuxick avatar Aug 25 '24 14:08 tuxick

Can you share the logs?

joostlek avatar Aug 25 '24 14:08 joostlek

Can you share the logs?

That was all i got, other than the usual "We found a custom integration sems which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant"

tuxick avatar Aug 25 '24 15:08 tuxick

Can you restart and get new logs?

joostlek avatar Aug 25 '24 15:08 joostlek

Restarted, got same "blocked from loading" but now getting data anyway.

tuxick avatar Aug 26 '24 10:08 tuxick

Can you please just copy paste the logs.

joostlek avatar Aug 26 '24 11:08 joostlek

grep -i sems home-assistant.log just gives me:

2024-08-25 22:07:55.773 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration sems which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-08-25 22:07:55.773 ERROR (SyncWorker_0) [homeassistant.loader] The custom integration 'sems' does not have a version key 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 2024-08-25 22:08:01.054 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'sems' calls async_forward_entry_setup for integration, sems with title: 1e133b34-af9b-4292-877c-fe09f6e94bdd and entry_id: 4b6746708596ca7978fbb33d99e40023, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/sems/__init__.py, line 37: hass.async_create_task(, please create a bug report at https://github.com/TimSoethout/goodwe-sems-home-assistant/issues 2024-08-25 22:08:04.240 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration sems with title: 1e133b34-af9b-4292-877c-fe09f6e94bdd and entry_id: 4b6746708596ca7978fbb33d99e40023, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue

tuxick avatar Aug 26 '24 17:08 tuxick

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.