Open chasetb opened 1 month ago
Just to show my Office Eero device is still in Home Assistant but no data is available.
Downgrading to v1.5.0 allows integration to function as expected
I'm having the same issue in v 1.6.2
Same issue with v1.6.2
Logger: homeassistant.config_entries
Source: config_entries.py:594
First occurred: 8:48:14 AM (1 occurrences)
Last logged: 8:48:14 AM
Error setting up entry Eero HOME for eero
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/eero/__init__.py", line 320, in async_setup_entry
if any([eero.is_eero_beacon for network in coordinator.data.networks for eero in network.eeros]):
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'networks'
Redownloaded versions 1.6.1, 1.6.0 and 1.5.0 and got the same error.
Whilst on 1.5.0, I did a "configure" on the device, went through the configuration flow and it loaded correctly after that.
I then did a whole heap of upgrading/downgrading/reloconfiguring/reloading. After an upgrade to 1.6.2, running the config flow and 2 reloads, it appears to have loaded successfully. Susequent reloads work fine, but when HA is restarted, the error returns. After multiple reloads it eventually works successfully, until the next time that HA is restarted.
is this dead?
is this dead?
v1.6.2 is working for me now.
I still have the issue, with multiple reloads fixing it eventually, until the next time that HA is restarted. Then need to do multiple reloads and it eventually works. It stays up and working for about 5-10 minutes, and then fails again.
2024-11-22 10:41:47.437 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Eero HOME for eero
Traceback (most recent call last):
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/eero/__init__.py", line 320, in async_setup_entry
if any([eero.is_eero_beacon for network in coordinator.data.networks for eero in network.eeros]):
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'networks'
2024-11-22 10:42:07.165 ERROR (MainThread) [custom_components.eero] Timeout fetching Eero (Andrew Heath (Gmail)) data
2024-11-22 10:42:07.165 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Eero HOME for eero
Traceback (most recent call last):
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/eero/__init__.py", line 320, in async_setup_entry
if any([eero.is_eero_beacon for network in coordinator.data.networks for eero in network.eeros]):
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'networks'
2024-11-22 10:45:07.363 ERROR (MainThread) [homeassistant.components.image] Error while setting up eero platform for image
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 365, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/eero/image.py", line 78, in async_setup_entry
if hasattr(backup_network, key):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/eero/api/backup_network.py", line 70, in qr_code
return generate_qr_code(
^^^^^^^^^^^^^^^^^
File "/config/custom_components/eero/api/util.py", line 27, in generate_qr_code
qr_code = pyqrcode.create(wifi_code)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyqrcode/__init__.py", line 111, in create
return QRCode(content, error, version, mode, encoding)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pyqrcode/__init__.py", line 161, in __init__
self.data = content.encode(self.encoding)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2019' in position 13: ordinal not in range(256)
2024-11-22 10:50:48.995 ERROR (MainThread) [custom_components.eero] Timeout fetching Eero (Andrew Heath (Gmail)) data
2024-11-22 10:51:29.474 ERROR (MainThread) [custom_components.eero] Timeout fetching Eero (Andrew Heath (Gmail)) data
2024-11-22 10:51:29.474 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Eero HOME for eero
Traceback (most recent call last):
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/eero/__init__.py", line 320, in async_setup_entry
if any([eero.is_eero_beacon for network in coordinator.data.networks for eero in network.eeros]):
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'networks'
I don't think this should be closed.
An update has been released which address this error from above.
AttributeError: 'EeroException' object has no attribute 'status_code'
The root cause of the other (more frequent error) is unclear. I'm reopening this issue to keep it on the to-do list as I have time.
AttributeError: 'NoneType' object has no attribute 'networks'
Can confirm with the new version that I am still getting the AttributeError: 'NoneType' object has no attribute 'networks'
error. I know that is expected, but just thought I would let the thread know.
System Specs
HA Core:
2024.10.1
HA Supervisor:2024.10.0
HA Operating System:13.1
Ha Frontend:20241002.2
Context
I upgraded from v1.5.0 to v1.6.1 today. My network and devices are still shown in the Integration but no data is available. I see the following:
Logs on Integration Startup
Additional Logs
I also tried "Add Hub" option and after entering my email address, I get the following errors: