Can’t restart my Home assistant

I updated the latest dev branch code, and then an error occurred when restart my HA.
please help!

I have used the default configuration.yaml


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

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

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

the error message:

2024-03-25 09:57:55.073 ERROR (MainThread) [homeassistant.setup] Error during setup of component map
Traceback (most recent call last):
File “/Users//core/homeassistant/setup.py", line 398, in _async_setup_component
result = await task
^^^^^^^^^^
File "/Users/
/core/homeassistant/components/map/init.py”, line 49, in async_setup
await _create_map_dashboard(hass)
File “/Users/*/core/homeassistant/components/lovelace/init.py”, line 269, in _create_map_dashboard
title = translations[“component.onboarding.dashboard.map.title”]
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: ‘component.onboarding.dashboard.map.title’
2024-03-25 09:57:55.422 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of ‘default_config’. Setup failed for dependencies: [‘map’]
2024-03-25 09:57:55.422 ERROR (MainThread) [homeassistant.setup] Setup failed for ‘default_config’: Could not setup dependencies: map
2024-03-25 09:57:56.927 WARNING (MainThread) [homeassistant.bootstrap] Support for the running Python version 3.11.4 is deprecated and will be removed in Home Assistant 2024.4; Please upgrade Python to 3.12

I mean, the problem is right there. You’re running Python 3.11 and that’s been deprecated. What am I missing here?

the command to update it is pip install --upgrade

Thanks! but it does not worked.

the error occurred below when i changed my python to 3.12

  File "/Users/*/core/homeassistant/bootstrap.py", line 254, in async_setup_hass
    await async_from_config_dict(config_dict, hass) is not None
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/*/core/homeassistant/bootstrap.py", line 375, in async_from_config_dict
    await async_load_base_functionality(hass)
  File "/Users/*/core/homeassistant/bootstrap.py", line 349, in async_load_base_functionality
    create_eager_task(area_registry.async_load(hass)),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/*/core/homeassistant/util/async_.py", line 35, in create_eager_task
    return Task(
           ^^^^^
TypeError: _patch_task.<locals>.task_new_init() got an unexpected keyword argument 'eager_start'
python-BaseException
sys:1: RuntimeWarning: coroutine 'async_load' was never awaited

Thanks but it didn’t work, still the same error

The problem is here, the dict translations is empty.

File “/Users/*/core/homeassistant/components/lovelace/init.py”, line 269, in _create_map_dashboard
title = translations[“component.onboarding.dashboard.map.title”]
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

this is a bit out of my leuge. i know a bit of coding but not enough to help with this. sorry

It’s okay, you are great, you have helped me, thank you :smile:

if you change
title = translations[“component.onboarding.dashboard.map.title”]
to
title = translations[“homeassistant.components.onboarding.dashboard.map.title”]
it works.

This was introduced 2 weeks ago w/ “Deprecate the map integration #113215”. Not clear why it did not pop up during integration.