def parse_pwr(dictionary):
    """Gets power supply info from an assumed pwr_supply component"""
    name = '_'.join(dictionary['Board Extra'].lower().split(' '))
    props = {}
    for k, v in dictionary['properties'].items():
        new_key = k.split('Board ')[1]
        props[new_key] = v
    return {name: props}
