custom device templates