Can The Internet Of Things Change How Cities React To Weather?

Most of the United States has seen record-breaking heat levels through July 2022, but how can cities use the internet of things to react to extreme weather?