That case involved a state with such a law. Most states do not have laws like that.
I’m pretty sure, as per Zen Master, this was a principle that applied to all “faithless electors.”