Where does the proposed law punish electors?
I don't think this law does that. I was responding in part to the statement about it being constitutional to force the electors to vote a certain way. I don't think it is. States can require a pledge in order to stand for election, but I don't think they can punish an elector for changing their mind once elected. There are Faithless Elector laws in some states, but they have never been tested, and I doubt they could be constitutional, as they would deny an elected official (the elector) the ability to perform their duties freely and without coercion.