SCOTUS has said that electors can be punished for not voting according to the rules laid out by the state. I'm not sure to what extent the various remedies available have been settled; that is, what can be done procedurally after a faithless elector casts their vote. AFAIK so far the effect has always been that their vote was counted and certified.