This information including the Dukes type transmission is provided because there are 2 types of transmissions; it would certainly be rare but I suppose possible to find the Dukes installed in the flap system.
The Dura transmission and the electric motor can be conditionally repaired – call for information.
Air Parts of Lockhaven and Pifer’s Airmotive claim FAA approval for performing the electric motor repair.
These flap motors from Comanche Gear are $625, exchange, owner-produced request required.
The Piper Comanche Service manuals state that these transmissions require a 500-hour inspection and service; often ignored for lack of awareness. See the manual reference here.
Also if I may deviate a bit from the SM recommendation [500-hour]; if the Dukes special grease is used, in my opinion, this can be stretched to 1,000 hours. Shame on me!