From db03c273f1a84617f1cee62002561a329ff03ff6 Mon Sep 17 00:00:00 2001 From: starkillerOG Date: Sat, 13 Aug 2022 15:17:49 +0200 Subject: [PATCH] Netgear skip devices withouth mac (#76626) skip devices withouth mac --- homeassistant/components/netgear/router.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/homeassistant/components/netgear/router.py b/homeassistant/components/netgear/router.py index ae4186abbb5..8e370a6b5e0 100644 --- a/homeassistant/components/netgear/router.py +++ b/homeassistant/components/netgear/router.py @@ -198,6 +198,9 @@ class NetgearRouter: _LOGGER.debug("Netgear scan result: \n%s", ntg_devices) for ntg_device in ntg_devices: + if ntg_device.mac is None: + continue + device_mac = format_mac(ntg_device.mac) if not self.devices.get(device_mac):