The Kern County Sheriff's bomb squad detonated a device found in the backyard of a home in the 15000 block of Azalea Spring Court around 8:15 p.m. Thursday evening.