You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuration seems to work. However, no entities are added to HA and an error message shows on the logs.
Debug log
Logger: homeassistant.components.device_tracker
Source: custom_components/tplink_deco/device_tracker.py:128
Integration: Device tracker ([documentation](https://www.home-assistant.io/integrations/device_tracker), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+device_tracker%22))
First occurred: 19:57:24 (6 occurrences)
Last logged: 20:05:44
Error adding entities for domain device_tracker with platform tplink_deco
Error while setting up tplink_deco platform for device_tracker
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 428, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 529, in _async_add_entity
device_info = entity.device_info
File "/config/custom_components/tplink_deco/device_tracker.py", line 235, in device_info
return create_device_info(self._deco, self.coordinator.data.master_deco)
File "/config/custom_components/tplink_deco/device_tracker.py", line 128, in create_device_info
device_info[ATTR_VIA_DEVICE] = (DOMAIN, master_deco.mac)
AttributeError: 'NoneType' object has no attribute 'mac'
Home Assistant version
Home Assistant 2022.9.4
Supervisor 2022.08.6
Operating System 8.5
Frontend 20220907.2 - latest
The text was updated successfully, but these errors were encountered:
Seems that integration isn't able to determine the master deco correctly. Are you using the master deco's IP address for config? How are your decos setup?
Yes, I used the IP of the master deco. I just double checked it. It's connected to the router with an ethernet cable and I'm using the "access point" mode. There are also 2 more P9 decos on my network, all of them connected via WiFi (2.4/5 Ghz) and PLC.
Version of the custom_component
v2.2.1
Deco Model
P9(2.0)
Firmware version: 1.1.3 Build 20201228 Rel. 55057
Describe the bug
Configuration seems to work. However, no entities are added to HA and an error message shows on the logs.
Debug log
Home Assistant version
Home Assistant 2022.9.4
Supervisor 2022.08.6
Operating System 8.5
Frontend 20220907.2 - latest
The text was updated successfully, but these errors were encountered: