Allowing jail time credit for pretrial electronic home monitoring with a device as a condition of pretrial release(rt)