This anyway isn't specific to one political direction, I mean yes some regulations affect the cooling liquid used, nothing of which is a major road block.
Also the huge majority of new supper market, shopping centers, cars etc. in both countries you named have AC
But also other other mentioned heat death in that statistic are mostly a combination with other health issues. Hence why there is some relation between countries having a lot of old people and countries having a lot of heat related death. But also hence why many people will not treat this death as heat death even if they happen to their family.
A big problem for changing the current state in Germany are also like so "old politicians being mentally stuck in the past". The kind of "we didn't need it so you don't either" mindset. (Which if we have to speak about political direction is more common on the right side of the political spectrum, maybe simple due to that side being also older in average).