Treat it like a light fixture. Don't worry about protecting the small wire from overloads.
OTOH, the 18AWG conductors are considered adequately protected for short circuits by a 20-amp overcurrent device. It’s sort of a juggling act, I agree.
I don’t know if the detector and 115V pigtail can fail in any mode to start a fire. {?}