diff --git a/custom_components/zha_map/__init__.py b/custom_components/zha_map/__init__.py index 91937d6..7dc58d3 100644 --- a/custom_components/zha_map/__init__.py +++ b/custom_components/zha_map/__init__.py @@ -220,6 +220,7 @@ async def process_neighbour_table(self, nei): for entry in nei.neighbours: if entry.ieee in self._seen: continue + self.debug("Adding %s to all neighbours", entry.ieee) self._seen[entry.ieee] = entry await self.save_neighbours(nei) diff --git a/custom_components/zha_map/neighbour.py b/custom_components/zha_map/neighbour.py index 37b9eff..394483d 100644 --- a/custom_components/zha_map/neighbour.py +++ b/custom_components/zha_map/neighbour.py @@ -131,6 +131,12 @@ async def scan(self): neighbors = val.NeighborTableList for neighbor in neighbors: new = self.new_from_record(neighbor) + + if repr(new.ieee) == "ff:ff:ff:ff:ff:ff:ff:ff": + self.debug("Ignoring invalid neighbour: %s", new.ieee) + idx += 1 + continue + try: new.device = self.device.application.get_device(new.ieee) new._update_info()