Invalid config - The following integrations and platforms could not be set up

Hello,

I have upgraded my HA from version 2024.10.4 to 2024.11.1 and I get this message. The thing is that I have checked the logs and searched the forum but I can’t find any explanation on how to solve it.

Invalid config
The following integrations and platforms could not be set up:

  • [history] ([Show logs]
  • [energy] ([Show logs]
  • [logbook] ([Show logs]
  • [edata] ([Show logs]
  • [default_config] ([Show logs]

Please check your config and [logs].

Post configuration.yaml (use code tags).

here you have the configuration.yaml if you need any other yaml please let me know, thanks for the quick response.

# Loads default set of integrations. Do not remove.
default_config:


########## Permite añadir personalizaciones
homeassistant:
    customize: !include customize.yaml


# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes


# files added
automation: !include automations.yaml
command_line: !include command_line.yaml
notify: !include notify.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
sensor: !include sensors.yaml
template: !include templates.yaml
utility_meter: !include utility_meter.yaml


########## Acceso web: Fija el puerto + Pone el certificado SSL + Añade el baneo
http:
  server_port: 8223
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
  ip_ban_enabled: true
  login_attempts_threshold: 3


########## Comando shell como servicio
shell_command:
  home_mode_on: bash /config/shell/home_mode_on.sh
  home_mode_off: bash /config/shell/home_mode_off.sh
  reboot_for_new_ssl: bash /config/shell/reboot_for_new_ssl.sh
  reboot_balanceador: bash /config/shell/reboot_balanceador.sh


########## Añadir el Bot de Telegram en HA
telegram_bot:
  - platform: polling
    api_key: xxxxxxxxxxxxxxxxxxxxx
    allowed_chat_ids:
      - xxxxxxxxxxxx


########## Añadir battery notes a los dispositivos de bateria     
battery_notes:

Hi javi_fly,

Is the indent on customize in the right place?
May not be the problem but it doesn’t look right, like it’s one off or something.

That is the most likely problem.

No, he’s not, I thought he was like that, he’s been like that forever…

It can’t hurt to fix the indent level.
What do you have in customize.yaml?

things also with worng bleed level that I have to fix… :frowning: I fix them?
I have checked the rest of the yaml files and I don’t see any other file with an incorrect indentation level. only this customize.yaml

Nope. As long as the indentation is consistent within each block of yaml you can use as many spaces as you like.

This example uses lists but it’s the same for dictionaries: Invalid Config - cannot figure out the issue - #15 by tom_l

I know it can be 2, 4, 6, etc, but it looked like 1 off from that to me. (like 5)

Ok, so as to the real problem, the recorder integration is not part of default config. See the list here: Default Config - Home Assistant

So you need to add this to your configuration.yaml file and then restart:

recorder:

It can be any non zero integer, 1,2,3,4,5, …42, etc… as long as it is the same for all other elements inside the block.

1 Like

Hello,
I had a copy of my VM. I have corrected the detected bleed errors and re-launched the update. If you look at it, it stays a long time with that message “starting recorder”.

and after that wait it continues to start zigbee, etc… and shows the error again.

I think the idea of adding record in the configuration.yaml is going to be successful. I will try it right now.

I have added recorder in my configuration.yaml, It has not solved the errors, they continue to occur.

# Configuration Stores and manages historical data in Home Assistant
recorder:


Show logs please.

Here is the file: (link to google drive deleted)

Pate them here. I’m behind a corporate firewall that can not access most file sharing sites.

It didn’t let me because of the file limit, I cut the file…

2024-11-10 05:29:34.442 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xiaomi_miot 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-11-10 05:29:34.444 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-11-10 05:29:34.445 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs 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-11-10 05:29:34.446 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tarifa_20td 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-11-10 05:29:34.447 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tuya_climate_mult_edit 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-11-10 05:29:34.448 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration bodymiscale 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-11-10 05:29:34.448 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration battery_notes 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-11-10 05:29:34.449 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration midea_ac_lan 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-11-10 05:29:34.450 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration alarmo 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-11-10 05:29:34.451 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration sonoff 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-11-10 05:29:34.452 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration watchman 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-11-10 05:29:34.453 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration balance_neto 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-11-10 05:29:34.454 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration edata 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-11-10 05:29:46.581 WARNING (MainThread) [homeassistant.setup] Setup of recorder is taking over 10 seconds.
2024-11-10 05:30:36.190 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('recorder', None): 950.371556013}
2024-11-10 05:31:36.300 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('recorder', None): 950.371556013}
2024-11-10 05:32:36.427 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('recorder', None): 950.371556013}
2024-11-10 05:33:36.530 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('recorder', None): 950.371556013}
2024-11-10 05:34:36.581 ERROR (MainThread) [homeassistant.setup] Setup of 'recorder' is taking longer than 300 seconds. Startup will proceed without waiting any longer
2024-11-10 05:34:36.633 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('hassio', None): 1250.376990087}
2024-11-10 05:34:52.777 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'edata'. Setup failed for dependencies: ['recorder']
2024-11-10 05:34:52.778 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration 'edata': Could not setup dependencies: recorder
2024-11-10 05:34:52.799 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'logbook'. Setup failed for dependencies: ['recorder']
2024-11-10 05:34:52.799 ERROR (MainThread) [homeassistant.setup] Setup failed for 'logbook': Could not setup dependencies: recorder
2024-11-10 05:34:52.802 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'history'. Setup failed for dependencies: ['recorder']
2024-11-10 05:34:52.802 ERROR (MainThread) [homeassistant.setup] Setup failed for 'history': Could not setup dependencies: recorder
2024-11-10 05:34:52.802 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'energy'. Setup failed for dependencies: ['history', 'recorder']
2024-11-10 05:34:52.802 ERROR (MainThread) [homeassistant.setup] Setup failed for 'energy': Could not setup dependencies: history, recorder
2024-11-10 05:35:18.697 WARNING (MainThread) [homeassistant.config_entries] Config entry '[email protected]' for tuya_climate_mult_edit integration could not authenticate: Authentication failed. Please re-authenticate
2024-11-10 05:35:25.867 WARNING (MainThread) [homeassistant.config_entries] Config entry '[email protected]' for tuya integration could not authenticate: Authentication failed. Please re-authenticate
2024-11-10 05:35:25.923 WARNING (MainThread) [homeassistant.config_entries] Config entry '[email protected]' for tuya integration could not authenticate: Authentication failed. Please re-authenticate
2024-11-10 05:35:26.406 WARNING (ImportExecutor_0) [homeassistant.const] TIME_DAYS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.DAYS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-11-10 05:35:26.415 WARNING (ImportExecutor_0) [homeassistant.const] TIME_HOURS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.HOURS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-11-10 05:35:26.430 WARNING (ImportExecutor_0) [homeassistant.const] TIME_MINUTES was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.MINUTES instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-11-10 05:35:26.443 WARNING (ImportExecutor_0) [homeassistant.const] TIME_SECONDS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.SECONDS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-11-10 05:35:26.455 WARNING (ImportExecutor_0) [homeassistant.const] TEMP_CELSIUS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-11-10 05:35:26.464 WARNING (ImportExecutor_0) [homeassistant.const] POWER_WATT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-11-10 05:35:26.474 WARNING (ImportExecutor_0) [homeassistant.const] VOLUME_LITERS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolume.LITERS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-11-10 05:35:26.488 WARNING (ImportExecutor_0) [homeassistant.const] ENERGY_KILO_WATT_HOUR was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-11-10 05:35:29.269 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module with args ('.ac.device', 'custom_components.midea_ac_lan.midea.devices') inside the event loop by custom integration 'midea_ac_lan' at custom_components/midea_ac_lan/midea/devices/__init__.py, line 23: module = import_module(device_path, __package__) (offender: /config/custom_components/midea_ac_lan/midea/devices/__init__.py, line 23: module = import_module(device_path, __package__)), please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component
    result = await _async_setup_component(hass, domain, config)
  File "/usr/src/homeassistant/homeassistant/setup.py", line 461, in _async_setup_component
    await asyncio.gather(
  File "/usr/src/homeassistant/homeassistant/setup.py", line 463, in <genexpr>
    create_eager_task(
  File "/usr/src/homeassistant/homeassistant/util/async_.py", line 45, in create_eager_task
    return Task(coro, loop=loop, name=name, eager_start=True)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 783, in async_setup_locked
    await self.async_setup(hass, integration=integration)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 546, in async_setup
    await self.__async_setup_with_context(hass, integration)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/midea_ac_lan/__init__.py", line 148, in async_setup_entry
    device = device_selector(
  File "/config/custom_components/midea_ac_lan/midea/devices/__init__.py", line 23, in device_selector
    module = import_module(device_path, __package__)

2024-11-10 05:35:29.291 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'midea_ac_lan' calls async_forward_entry_setup for integration, midea_ac_lan with title: Aire de la habitación grande  and entry_id: 7004219e313a9cbf9a9e6da8d01d55b5, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/midea_ac_lan/__init__.py, line 171: hass.async_create_task(hass.config_entries.async_forward_entry_setup(, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-11-10 05:35:30.015 WARNING (MainThread) [homeassistant.setup] Setup of telegram_bot is taking over 10 seconds.
2024-11-10 05:35:33.781 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of 'default_config'. Setup failed for dependencies: ['energy', 'history', 'logbook']
2024-11-10 05:35:33.781 ERROR (MainThread) [homeassistant.setup] Setup failed for 'default_config': Could not setup dependencies: energy, history, logbook
2024-11-10 05:35:35.358 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration midea_ac_lan with title: Aire de la habitación grande  and entry_id: 7004219e313a9cbf9a9e6da8d01d55b5, 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.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2318, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1194, in _report_non_awaited_platform_forwards
    report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 156, in report
    _LOGGER.warning(msg, stack_info=True)
2024-11-10 05:35:35.360 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration midea_ac_lan with title: Aire del salon and entry_id: 103a3fc82303710d527d518f7286aabd, 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.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2318, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1194, in _report_non_awaited_platform_forwards
    report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 156, in report
    _LOGGER.warning(msg, stack_info=True)
2024-11-10 05:35:35.368 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration midea_ac_lan with title: Aire de la habitación pequeña  and entry_id: 773abc23d1475a31a1f0c0ee84c8b6d6, 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.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2318, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1194, in _report_non_awaited_platform_forwards
    report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 156, in report
    _LOGGER.warning(msg, stack_info=True)
2024-11-10 05:35:35.377 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration midea_ac_lan with title: Aire de la habitación grande  and entry_id: 7004219e313a9cbf9a9e6da8d01d55b5, 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.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2318, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1194, in _report_non_awaited_platform_forwards
    report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 156, in report
    _LOGGER.warning(msg, stack_info=True)
2024-11-10 05:35:35.379 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration midea_ac_lan with title: Aire del salon and entry_id: 103a3fc82303710d527d518f7286aabd, 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.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2318, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1194, in _report_non_awaited_platform_forwards
    report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 156, in report
    _LOGGER.warning(msg, stack_info=True)
2024-11-10 05:35:35.382 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration midea_ac_lan with title: Aire de la habitación pequeña  and entry_id: 773abc23d1475a31a1f0c0ee84c8b6d6, 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.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 189, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2318, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1194, in _report_non_awaited_platform_forwards
    report(

Unfortunately it’s not telling us why your recorder can’t be set up. Are you using the default recorder database or something else like MariaDB?

Try adding this to your configuration.yaml file and resarting, then post the logs again:

logger:
  default: info
  logs:
    homeassistant.components.recorder: debug

I am using the default DB.
Maybe it does not restart HA after adding the line

# Configuration Stores and manages historical data in Home Assistant
recorder:

try restarting HA after adding it and just before upgrading?

Would it be like this?

  • add the line
  • restart HA
  • update HA