Leaving a child alone in a vehicle during any weather at any time should be a felony in every state.
I actively raised two children without ever leaving them alone in a vehicle, but I don't know that such a law would be a good idea.
Which would be worse? Leaving a child in a locked car with ventilation or air conditioning in a safe location and mild weather for a couple of minutes, or leaving a child alone at home for a much longer period while mommy or daddy ran out to the store? (Never did that either). That is what would happen.