Device tracker: make all Mac addresses uppercase. Fixes #37
This commit is contained in:
parent
ee20268e27
commit
f6f76acdb0
1 changed files with 2 additions and 1 deletions
|
@ -161,7 +161,8 @@ class DeviceTracker(object):
|
|||
""" Update device states based on the found devices. """
|
||||
self.lock.acquire()
|
||||
|
||||
found_devices = set(self.device_scanner.scan_devices())
|
||||
found_devices = set(dev.upper() for dev in
|
||||
self.device_scanner.scan_devices())
|
||||
|
||||
for device in self.tracked:
|
||||
is_home = device in found_devices
|
||||
|
|
Loading…
Add table
Reference in a new issue