Not sure how easy it is to detect if you leave a child alone in the care, and for how long. What if you just go get something from the trunk, or if you forgot something in your home?
To prevent the death of a child it would be sufficient to prevent the car from getting too hot. If you have a reliable way to detect the presence of a living being in the car, the car could just decide to activate the AC once a temperature threshold is met.
I'd be in favor of automatically rolling down windows if interior temperature exceeds 35C. This could work on ICE cars too. I guess it could increase thefts on hot days, but thieves seem to have no trouble breaking windows anyway.
All cars are electric cars if you put a solar panel on the roof!
I believe that Bentley had this as an option some years ago: The solar panel would power enough of the climate system so that when you returned to your car after a heavy shopping session on Rodeo Drive, it would be warm but not oppressive and would quickly reach your desired temperature when you restarted the engine and turned on the AC.
Of course, as a Bentley owner, you need never worry about leaving your child in the back seat. The nanny is back there and will handle everything.
https://www.consumerreports.org/car-safety/auto-industry-agr...
https://www.cnn.com/2021/08/12/us/hot-car-deaths-infrastruct...
My 2 year old Hyundai Palisade has rear seat detection via ultrasonic sensors - and I believe newer ones are using radar.
https://www.consumerreports.org/car-safety/guide-to-rear-sea...
Which is probably accurate.
I think a little indicator on your car with lights for each seat that is occupied where occupied is done by weight and is able to ignore the weight of a car seat might be a useful portion of an electronic dashboard. Still dashboard real estate is scarce and I'm not sure what indicator we'd be willing to remove to have it. On the whole it still doesn't surprise me that car manufacturers haven't done it.
My car has a "rear occupant alert" system. The problem seems to be that it struggles to differentiate between junk in the trunk and a living thing. Unfortunately, that makes it relatively useless since it's almost always beeping at us.