mirror of
https://github.com/home-assistant/core.git
synced 2025-05-22 23:07:06 +00:00
Better netgear logging
This commit is contained in:
parent
663e4d57d9
commit
cde05b91ce
@ -89,4 +89,9 @@ class NetgearDeviceScanner(object):
|
|||||||
with self.lock:
|
with self.lock:
|
||||||
_LOGGER.info("Scanning")
|
_LOGGER.info("Scanning")
|
||||||
|
|
||||||
self.last_results = self._api.get_attached_devices() or []
|
results = self._api.get_attached_devices()
|
||||||
|
|
||||||
|
if results is None:
|
||||||
|
_LOGGER.warning('Error scanning devices')
|
||||||
|
|
||||||
|
self.last_results = results or []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user