GOVEE Integration stopped working after HA update to 2025.6.1
Upgraded HA to version 2025.6.1 today. Govee integration no longer working following log entry:
Logger: homeassistant.config_entries Source: config_entries.py:749 First occurred: 7:52:05 PM (1 occurrence) Last logged: 7:52:05 PM
Error setting up entry govee for govee Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/govee/init.py", line 72, in async_setup_entry await hass.config_entries.async_forward_entry_setup(entry, component) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ConfigEntries' object has no attribute 'async_forward_entry_setup'. Did you mean: 'async_forward_entry_setups'?
This fixed it for me:
In custom_components/govee/init.py, find this line:
await hass.config_entries.async_forward_entry_setup(entry, component) Change it to:
await hass.config_entries.async_forward_entry_setups(entry, [component])
This fixed it for me:
In custom_components/govee/init.py, find this line:
await hass.config_entries.async_forward_entry_setup(entry, component) Change it to:
await hass.config_entries.async_forward_entry_setups(entry, [component])
yes, that also fixed it for me. Thanks
Yep. That fixed it for me too. Thx.
Can also confirm that it worked with that. Thanks.
This fixed it for me:
In custom_components/govee/init.py, find this line:
await hass.config_entries.async_forward_entry_setup(entry, component) Change it to:
await hass.config_entries.async_forward_entry_setups(entry, [component])
Where do you go to find this?
Thanks for the info and my 1st edit in files lol. OK I had to do it twice,
also worked, had to restart HA not just reload the integration. File is named __init__.py and I was able to edit it directly in HA through the file editor addon.
This
This fixed it for me:
In custom_components/govee/init.py, find this line:
await hass.config_entries.async_forward_entry_setup(entry, component) Change it to:
await hass.config_entries.async_forward_entry_setups(entry, [component])
This fixed it for me too. Thanks :) 👍
Thanks a lot!
This fixed it for me:
In custom_components/govee/init.py, find this line:
await hass.config_entries.async_forward_entry_setup(entry, component) Change it to:
await hass.config_entries.async_forward_entry_setups(entry, [component])
Thank you! This worked for me as well after restarting HA.
After applying the change on the init,py file I am getting a new error instead:
Logger: homeassistant.config_entries Source: config_entries.py:749 First occurred: 4:44:26 PM (1 occurrence) Last logged: 4:44:26 PM
Error setting up entry govee for govee Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/govee/init.py", line 72, in async_setup_entry await hass.config_entries.async_forward_entry_setups(entry, component) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2568, in async_forward_entry_setups await integration.async_get_platforms(platforms) File "/usr/src/homeassistant/homeassistant/loader.py", line 1102, in async_get_platforms if platform := self._get_platform_cached_or_raise(platform_name): ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1193, in _get_platform_cached_or_raise raise ModuleNotFoundError( ...<2 lines>... ) ModuleNotFoundError: Platform govee.l not found
Has anyone also experienced this?
After applying the change on the init,py file I am getting a new error instead:
Logger: homeassistant.config_entries Source: config_entries.py:749 First occurred: 4:44:26 PM (1 occurrence) Last logged: 4:44:26 PM
Error setting up entry govee for govee Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/govee/init.py", line 72, in async_setup_entry await hass.config_entries.async_forward_entry_setups(entry, component) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2568, in async_forward_entry_setups await integration.async_get_platforms(platforms) File "/usr/src/homeassistant/homeassistant/loader.py", line 1102, in async_get_platforms if platform := self._get_platform_cached_or_raise(platform_name): ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1193, in _get_platform_cached_or_raise raise ModuleNotFoundError( ...<2 lines>... ) ModuleNotFoundError: Platform govee.l not found
Has anyone also experienced this?
Did you change the line to exactly the following? Note, there are square brackets surrounding the word "component".
await hass.config_entries.async_forward_entry_setups(entry, [component])
After applying the change on the init,py file I am getting a new error instead: Logger: homeassistant.config_entries Source: config_entries.py:749 First occurred: 4:44:26 PM (1 occurrence) Last logged: 4:44:26 PM Error setting up entry govee for govee Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/govee/init.py", line 72, in async_setup_entry await hass.config_entries.async_forward_entry_setups(entry, component) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2568, in async_forward_entry_setups await integration.async_get_platforms(platforms) File "/usr/src/homeassistant/homeassistant/loader.py", line 1102, in async_get_platforms if platform := self._get_platform_cached_or_raise(platform_name): ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1193, in _get_platform_cached_or_raise raise ModuleNotFoundError( ...<2 lines>... ) ModuleNotFoundError: Platform govee.l not found Has anyone also experienced this?
Did you change the line to exactly the following? Note, there are square brackets surrounding the word "component".
await hass.config_entries.async_forward_entry_setups(entry, [component])
I'm an idiot, completely went over the change to a list... thank you so much! Integration is working now
Looks like #235 (oddly labeled fix 234...) also fixes this issue.
@LaggAt - are you still actively working on this project? I'm sure there are folks that would be willing to help maintain it.
This fixed it for me:
In custom_components/govee/init.py, find this line:
await hass.config_entries.async_forward_entry_setup(entry, component) Change it to:
await hass.config_entries.async_forward_entry_setups(entry, [component])
Thanks it works!
Thanks, that worked
This solution alone did not fix my Govee lights, as after I changed the line to init.py and restarted HA, I got "entity not found" instead of it just being grayed out. Seems that I also had to request new API key via Govee app. After that, HA found my light again :)
Thank's ,now it works again!
Confirming this fixed the issue. Thanks @knicka5171
This fixed it for me:
In custom_components/govee/init.py, find this line:
await hass.config_entries.async_forward_entry_setup(entry, component) Change it to:
await hass.config_entries.async_forward_entry_setups(entry, [component])
Bros over here solving first world problems with a “s” and brackets. This worked for me, thank you @knicka5171
Looks like #235 (oddly labeled fix 234...) also fixes this issue.
It's referring to issue #234, the PR is #235.
Good evening, I replaced the line as indicated in the init.py file, do I need to rename the file?
Have underscore on mine
After applying the change on the init,py file I am getting a new error instead: Logger: homeassistant.config_entries Source: config_entries.py:749 First occurred: 4:44:26 PM (1 occurrence) Last logged: 4:44:26 PM Error setting up entry govee for govee Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/govee/init.py", line 72, in async_setup_entry await hass.config_entries.async_forward_entry_setups(entry, component) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2568, in async_forward_entry_setups await integration.async_get_platforms(platforms) File "/usr/src/homeassistant/homeassistant/loader.py", line 1102, in async_get_platforms if platform := self._get_platform_cached_or_raise(platform_name): ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1193, in _get_platform_cached_or_raise raise ModuleNotFoundError( ...<2 lines>... ) ModuleNotFoundError: Platform govee.l not found Has anyone also experienced this?
Did you change the line to exactly the following? Note, there are square brackets surrounding the word "component".
await hass.config_entries.async_forward_entry_setups(entry, [component])I'm an idiot, completely went over the change to a list... thank you so much! Integration is working now
And I just made exactly the same mistake, so at least you're not alone!
Good evening, I replaced the line as indicated in the init.py file, do I need to rename the file?
Have underscore on mine
Just change what the man said above. Add the square brackets. Dont change file names and nothing else.
It worked after i made the change in the line and restarted HA, thanks.
Thank you so much, working fine after new line.
Seems like TheOneOgre stepped in and forked it to a new repo: https://github.com/hacs/default/pull/3700 https://github.com/TheOneOgre/govee-cloud
Seems like TheOneOgre stepped in and forked it to a new repo: https://github.com/hacs/default/pull/3700 https://github.com/TheOneOgre/govee-cloud
Yes, currently working on getting the default govee integration moved over to my repo so all current users will just have to update, or at the very most install the new integration and it'll take over the existing configs.
Yes, currently working on getting the default govee integration moved over to my repo so all current users will just have to update, or at the very most install the new integration and it'll take over the existing configs.
Awesome waiting for this update then 👍
Per me è stato così:
In custom_components/govee/ init .py, trova questa riga:
attendi hass.config_entries.async_forward_entry_setup(voce, componente) Modificalo in:
attendi hass.config_entries.async_forward_entry_setups(voce, [componente])
In my init.py I don't have this line of code