Once silicon is in control (which is where responding grid requests to delay consumption is more or less necessarily heading) you could even achieve better (worst-case) safety margins at reduced (total) power consumption. Because the machinery no longer needs to be designed around two "dumb" thermo switches and do a little extra in case layers of varying temperature manifest after two or more spaced periods of consumption. With continuous monitoring in software, you can integrate the worst-case bacterial growth based on time elapsed outside the "practically safe" temperature ranges. Then the tank always knows what is needed, and can both operate on tighter margins and reliably know when reducing or delaying power draw is ok.
But further, once pasteurization has occurred (which takes 2 minutes at 60C), Abiogenesis doesn't happen. A water heater can safely go down to 36C after it's hit that 60C temperature. Not that it would.
So long as your water heater is hitting 60C once a day and stays above 42C, you have very little risk of developing dangerous levels of Legionella in the tank.