My hot water is gas.
Now my air on the other hand, is not. Why would I want to give them the power to shut down my air "on the hottest days"?
Shutting off my electric water heater on the warmest days when there is a high electric load due to air conditioners has never affected my comfort level to any perceptible degree.
I’ve had this setup for over 20 yrs.