mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Let the nmap device tracker return upper case MAC addresses.
This commit is contained in:
parent
9d41958b3a
commit
71ac550e7d
@ -120,7 +120,7 @@ class NmapDeviceScanner(object):
|
||||
else:
|
||||
mac = _arp(host.ipv4)
|
||||
if mac:
|
||||
device = Device(mac, name, host.ipv4, now)
|
||||
device = Device(mac.upper(), name, host.ipv4, now)
|
||||
self.last_results.append(device)
|
||||
_LOGGER.info("nmap scan successful")
|
||||
return True
|
||||
|
Loading…
x
Reference in New Issue
Block a user