Now you can even get water heaters with heat pumps and combo units that dump your waste heat from your hvac heat pump into the water heater. It’s wild.
It's timed to only use power right in the middle of the day when the sun is shining, and in the middle of the night when power is cheap. (needs both because the tank is fairly small and my kids like long showers)