diff --git a/homeassistant/components/device_tracker/luci.py b/homeassistant/components/device_tracker/luci.py index 6ff3d996a47..893c9070526 100644 --- a/homeassistant/components/device_tracker/luci.py +++ b/homeassistant/components/device_tracker/luci.py @@ -114,12 +114,13 @@ class LuciDeviceScanner(object): hosts = [x for x in result.values() if x['.type'] == 'host' and 'mac' in x and 'name' in x] - mac2name_list = [(x['mac'], x['name']) for x in hosts] + mac2name_list = [ + (x['mac'].upper(), x['name']) for x in hosts] self.mac2name = dict(mac2name_list) else: # Error, handled in the _req_json_rpc return - return self.mac2name.get(device, None) + return self.mac2name.get(device.upper(), None) @Throttle(MIN_TIME_BETWEEN_SCANS) def _update_info(self):