def unpair(address):
    if not salt.utils.validate.net.mac(address):
        raise CommandExecutionError(
            'Invalid BD address passed to bluetooth.unpair'
        )

    cmd = 'bluez-test-device remove {0}'.format(address)
    out = __salt__['cmd.run'](cmd).splitlines()
    return out
Unpair the bluetooth adapter from a device
dataset/ETHPy150Open saltstack/salt/salt/modules/bluez.py/unpair