Home assistant green - first start and error

Hi all

I received Home assistance green for christmas, but he seems to have some trouble.

First start i received a lot of error in log. With your help i solved many of that but there 3 more:

> The following integrations and platforms could not be set up:
> 
> * [zeroconf](https://www.home-assistant.io/integrations/zeroconf) ([Show logs](http://192.168.1.97:8123/config/logs?filter=zeroconf))
> * map ([Show logs](http://192.168.1.97:8123/config/logs?filter=map))
> * updater ([Show logs](http://192.168.1.97:8123/config/logs?filter=updater))
> 
> Please check your config and [logs](http://192.168.1.97:8123/config/logs).

In particular “zeroconf”:

Registratore: homeassistant.setup
Fonte: setup.py:334
Prima occorrenza: 00:01:32 (1 occorrenze)
Ultimo accesso: 00:01:32

Setup failed for 'zeroconf': Unable to import component: cannot import name 'BadTypeInNameException' from 'zeroconf' (/usr/local/lib/python3.13/site-packages/zeroconf/__init__.py)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1014, in async_get_component
    comp = await self.hass.async_add_import_executor_job(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        self._get_component, True
        ^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1074, in _get_component
    ComponentProtocol, importlib.import_module(self.pkg_path)
                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1022, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/src/homeassistant/homeassistant/components/zeroconf/__init__.py", line 17, in <module>
    from zeroconf import (
    ...<4 lines>...
    )
ImportError: cannot import name 'BadTypeInNameException' from 'zeroconf' (/usr/local/lib/python3.13/site-packages/zeroconf/__init__.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 334, in _async_setup_component
    component = await integration.async_get_component()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1034, in async_get_component
    self._component_future.result()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1026, in async_get_component
    comp = self._get_component()
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1074, in _get_component
    ComponentProtocol, importlib.import_module(self.pkg_path)
                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1022, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/src/homeassistant/homeassistant/components/zeroconf/__init__.py", line 17, in <module>
    from zeroconf import (
    ...<4 lines>...
    )
ImportError: cannot import name 'BadTypeInNameException' from 'zeroconf' (/usr/local/lib/python3.13/site-packages/zeroconf/__init__.py)

Can anyone help me? Thank you so much

2 Likes

having same issue on new install on a rasberry pi 4

all these deps are looking for (/usr/local/lib/python3.13/site-packages/unicode_rbnf/init.py) but the HAOS image for RPI4 is running python 3.12 though ive never used HAOS so could be way off here.

Hi Alessio, welcome to the forum!

You could try with a clean install: https://green.home-assistant.io/

1 Like

Hi there,
Same problem, bought HA Green and received it few days ago and I have the same log. Don’t know what to do I’m new to this.
@Nick4 I did a clean install and updated HA but I still have the same log

I recommend opening a new issue on GitHub: Issues · home-assistant/core · GitHub.

Thank you, I’m opening now

2 Likes

For anyone having issues with a new Home Assistant device,
I ask that you please do stick with it, I promise you’ll be able to get it working and by the end you might’ve learned something cool.

I do not own a green but hear similar platforms are having issues,

2024.12 Crashes system for many users
HAOS UI Broken after update to 14.0

In the meantime i’ve been having good luck with a 2 core 4gb ram virtual machine. Any configuration on the vm can be backed up and applied to a working home assistant green later.

Home Assistant is technical but worth it once you have a setup running for a long period of time with no adjustments.