(x)
return s
Get antenna name for the configuration menu
Get antenna name for the configuration menu
Get antenna name for the configuration menu
def _get_antenna_name(x):
    """Get antenna name for the configuration menu"""
    if x['type'] == 'dish':
        s = 'Satellite Dish ({})'.format(x['label'])
    elif x['type'] == 'sat-ip':
        s = 'Blockstream Base Station (Legacy Output)'
    else:
        s = 'Blockstream Flat-Panel Antenna'
    return s
def _get_antenna_name ( x ) : if x [ 'type' ] == 'dish' : s = 'Satellite Dish ({})' . format ( x [ 'label' ] ) elif x [ 'type' ] == 'sat-ip' : s = 'Blockstream Base Station (Legacy Output)' else : s = 'Blockstream Flat-Panel Antenna' return s