Cannot complete configuration check

I think this i related to 2022.07, but it may be a coincidence. At the moment I cannot complete the configuration check. Nothing has changed in my set up recently. I did comment out a MiFlora configuration, but that didn’t help.

If I click Restart while the Check Configuration is running I get the following errors in my log:

Logger: aiohttp.server
Source: helpers/check_config.py:183
First occurred: 00:44:33 (1 occurrences)
Last logged: 00:44:33

Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 79, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/core.py", line 30, in post
    errors = await async_check_ha_config_file(request.app["hass"])
  File "/usr/src/homeassistant/homeassistant/config.py", line 928, in async_check_ha_config_file
    res = await check_config.async_check_ha_config_file(hass)
  File "/usr/src/homeassistant/homeassistant/helpers/check_config.py", line 183, in async_check_ha_config_file
    result[domain] = config[domain]
KeyError: 'group'
Logger: homeassistant.components.websocket_api.http.connection
Source: helpers/check_config.py:183
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 00:44:32 (1 occurrences)
Last logged: 00:44:32

[547457097088] 'group'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 193, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1713, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1750, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 679, in async_handle_core_service
    errors = await conf_util.async_check_ha_config_file(hass)
  File "/usr/src/homeassistant/homeassistant/config.py", line 928, in async_check_ha_config_file
    res = await check_config.async_check_ha_config_file(hass)
  File "/usr/src/homeassistant/homeassistant/helpers/check_config.py", line 183, in async_check_ha_config_file
    result[domain] = config[domain]
KeyError: 'group'

Any ideas what they errors might relate to?
I have noticed the ‘Group’ integration takes nearly 10 seconds to load. Which is weird for a standard integration.

Edit: I commented out everything I could in my config.yaml file and disabled any integrations that complained as a result. But still no improvement

I would search for the word group in your config and it is possibly something just above it or the group section itself that has incorrect indentation or an errant hyphen or something.
Do you have a split config or is it all one configuration.yaml?

It is also possible it’s near something that says

  - platform: group
1 Like

Thank you! You encouraged me to look at my yaml files again. I found the issue. It was this line in my configuration yaml:
group include: !include groups.yaml
I think it is supposed to have group: in the line before it. I recently converted all my yaml groups into the Helper groups and must have removed group: as long with my group yaml lines without thinking of the group include line.