I want to drive a door strike at 24V with a Raspberry Pi. The door strike needs 150mA. I think the current that a Raspberry Pi can drive on one pin is significantly weaker than for example an Arduino, so I really don't want to pick the wrong transistor.
Transistor data sheets still often sound like black magic to me. I was previously planning on using a ULN2803A darlington array, but since I really only need the one output that would be overkill.
I'll add a flyback diode as well since I don't know exactly what the mechanism inside the door strike is, it could be a coil/solenoid of some sorts.