Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Commit

Permalink
ignore invalid neighbours reported by some devices
Browse files Browse the repository at this point in the history
  • Loading branch information
abmantis committed Oct 3, 2019
1 parent 4aea068 commit 34d8352
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/zha_map/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ async def process_neighbour_table(self, nei):
for entry in nei.neighbours:
if entry.ieee in self._seen:
continue
if entry.ieee == "ff:ff:ff:ff:ff:ff:ff:ff":
self.debug("Ignoring invalid neighbour: %s", entry.ieee)

self.debug("Adding %s to all neighbours", entry.ieee)
self._seen[entry.ieee] = entry
await self.save_neighbours(nei)
Expand Down

0 comments on commit 34d8352

Please sign in to comment.