Using a connected water heater