>> The name on the ballot has no legal power <<
Not true for those states that have laws against “faithless electors.”
What, are faithless elector laws going to force an elector to vote for a dead person? We are talking about unavailable candidate or president elect. The party will put a name in. And your position is that between the dead person and the name the party provides, the electors are bound, by law, to vote for the dead person? Seems like a stupid law to me.