'Return the name of the given device or None if we don\'t know.'

def get_device_name(self, device):

    if (device not in self.last_results):
        self._update_info()
        if (not self.last_results):
            return None
    return self.last_results.get(device)
