'Return the dict to display in the curse interface.'

def msg_curse(self, args=None):

    ret = []
    if ((not self.stats) or args.disable_sensors):
        return ret
    msg = '{:18}'.format('SENSORS')
    ret.append(self.curse_add_line(msg, 'TITLE'))
    for i in self.stats:
        if ((i['type'] == 'battery') and (i['value'] == [])):
            continue
        ret.append(self.curse_new_line())
        label = self.has_alias(i['label'].lower())
        if (label is None):
            label = i['label']
        if (i['type'] != 'fan_speed'):
            msg = '{:15}'.format(label[:15])
        else:
            msg = '{:13}'.format(label[:13])
        ret.append(self.curse_add_line(msg))
        if (i['value'] in ('ERR', 'SLP', 'UNK', 'NOS')):
            msg = '{:>8}'.format(i['value'])
            ret.append(self.curse_add_line(msg, self.get_views(item=i[self.get_key()], key='value', option='decoration')))
        else:
            if (args.fahrenheit and (i['type'] != 'battery') and (i['type'] != 'fan_speed')):
                value = to_fahrenheit(i['value'])
                unit = 'F'
            else:
                value = i['value']
                unit = i['unit']
            try:
                msg = '{:>7.0f}{}'.format(value, unit)
                ret.append(self.curse_add_line(msg, self.get_views(item=i[self.get_key()], key='value', option='decoration')))
            except (TypeError, ValueError):
                pass
    return ret
